From a81c10143de4f833bf4bd37ee4e0ccc5683ea5a0 Mon Sep 17 00:00:00 2001 From: Kichan Kwon Date: Mon, 30 Jul 2018 17:03:04 +0900 Subject: [PATCH] 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 --- src/system_info.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.7.4