Add LCOV comment for not used function 04/185404/1
authorKichan Kwon <k_c.kwon@samsung.com>
Mon, 30 Jul 2018 08:03:04 +0000 (17:03 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Mon, 30 Jul 2018 08:04:45 +0000 (17:04 +0900)
- 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 <k_c.kwon@samsung.com>
src/system_info.c

index 030a795..cbb5cb5 100644 (file)
@@ -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)