From: Jiwoong Im Date: Tue, 21 Jun 2016 03:53:07 +0000 (+0900) Subject: vconf-compat : add lcov exclude comment for not supported api in tc X-Git-Tag: accepted/tizen/common/20160627.191114^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F78%2F75678%2F1;p=platform%2Fcore%2Fsystem%2Fbuxton2.git vconf-compat : add lcov exclude comment for not supported api in tc Change-Id: Ic840702d21303b072e011e3bfc96bafdf7b4249d Signed-off-by: Jiwoong Im --- 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; }