From: Kichan Kwon Date: Mon, 30 Jul 2018 08:03:04 +0000 (+0900) Subject: Add LCOV comment for not used function X-Git-Tag: submit/tizen/20190705.014352~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a81c10143de4f833bf4bd37ee4e0ccc5683ea5a0;p=platform%2Fcore%2Fapi%2Fsystem-info.git Add LCOV comment for not used function - destroy_key_value is called when hashtable is removed - However, there is no scenario that this hashtable is removed Change-Id: I7356d46b9bf84e083e8cf371854b4b5a54afa2f4 Signed-off-by: Kichan Kwon --- diff --git a/src/system_info.c b/src/system_info.c index 030a795..cbb5cb5 100644 --- a/src/system_info.c +++ b/src/system_info.c @@ -72,10 +72,12 @@ API int system_info_get_value_string(system_info_key_e key, char **value) } //LCOV_EXCL_STOP +//LCOV_EXCL_START : not used function static void destroy_key_value(gpointer data) { free(data); } +//LCOV_EXCL_STOP static int db_get_value(enum tag_type tag, const char *key, const char *type, char *value, size_t len)