summaryrefslogtreecommitdiff
path: root/src/notification_viewer.c
diff options
context:
space:
mode:
authorSeungha Son <seungha.son@samsung.com>2017-09-28 09:48:54 +0900
committerSeungha Son <seungha.son@samsung.com>2017-09-28 12:25:26 +0900
commit3efde103e9faac88db4e1d8a149844f0f0ce76c7 (patch)
tree86cb92cca2b604f2034ec7fcc83e5f3ea74143d5 /src/notification_viewer.c
parentaf802ba795e521fb0502b361f12d333e6681a27e (diff)
downloadnotification-3efde103e9faac88db4e1d8a149844f0f0ce76c7.tar.gz
notification-3efde103e9faac88db4e1d8a149844f0f0ce76c7.tar.bz2
notification-3efde103e9faac88db4e1d8a149844f0f0ce76c7.zip
Add lcov comment
Signed-off-by: Seungha Son <seungha.son@samsung.com> Change-Id: Ib4353e4a49ac753c43a3fc6fca08b9a3d87f8996
Diffstat (limited to 'src/notification_viewer.c')
-rw-r--r--src/notification_viewer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/notification_viewer.c b/src/notification_viewer.c
index 52d7f9b..9247375 100644
--- a/src/notification_viewer.c
+++ b/src/notification_viewer.c
@@ -36,6 +36,7 @@ EXPORT_API int notification_get_default_viewer(const char *path, char **default_
return -1;
}
+ /* LCOV_EXCL_START */
dict = iniparser_load(path);
if (!dict) {
NOTIFICATION_ERR("can't load file");
@@ -49,8 +50,10 @@ EXPORT_API int notification_get_default_viewer(const char *path, char **default_
iniparser_freedict(dict);
return 0;
+ /* LCOV_EXCL_STOP */
}
+/* LCOV_EXCL_START */
EXPORT_API int notification_launch_default_viewer(const char *default_viewer, int priv_id, uid_t uid)
{
int ret;
@@ -97,3 +100,4 @@ out:
return ret;
}
+/* LCOV_EXCL_STOP */