From f72bb562bea5af565c9b131b178c20af46445cfe Mon Sep 17 00:00:00 2001 From: Jiwoong Im Date: Tue, 21 Jun 2016 12:53:07 +0900 Subject: [PATCH] vconf-compat : add lcov exclude comment for not supported api in tc Change-Id: Ic840702d21303b072e011e3bfc96bafdf7b4249d Signed-off-by: Jiwoong Im --- vconf-compat/vconf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vconf-compat/vconf.c b/vconf-compat/vconf.c index 9ad157f..d7c0f2f 100644 --- a/vconf-compat/vconf.c +++ b/vconf-compat/vconf.c @@ -1327,6 +1327,7 @@ EXPORT int vconf_unset(const char *in_key) if (getuid() != 0) return VCONF_ERROR_NOT_SUPPORTED; + /* LCOV_EXCL_START */ if (!in_key) { errno = EINVAL; return -1; @@ -1341,6 +1342,7 @@ EXPORT int vconf_unset(const char *in_key) LOGE("unset value: key '%s' errno %d", in_key, errno); _close(client, layer); + /* LCOV_EXCL_STOP */ return r; } @@ -1358,6 +1360,7 @@ EXPORT int vconf_unset_recursive(const char *in_dir) if (getuid() != 0) return VCONF_ERROR_NOT_SUPPORTED; + /* LCOV_EXCL_START */ if (!in_dir) { errno = EINVAL; return -1; @@ -1394,6 +1397,7 @@ EXPORT int vconf_unset_recursive(const char *in_dir) buxton_free_keys(names); _close(client, layer); + /* LCOV_EXCL_STOP */ return 0; } -- 2.7.4