summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormk5004.lee <mk5004.lee@samsung.com>2018-08-08 17:34:33 +0900
committermk5004.lee <mk5004.lee@samsung.com>2018-08-08 17:34:33 +0900
commit2ded26d6925db9690937dc80eb9599bfcb7c77b8 (patch)
tree1d72eb6925dd3f309bae94e4fa8ceedabc7f9bea
parent6fa4ef3e8528d0b891fd2016992678d3c4b9df60 (diff)
downloadshortcut-2ded26d6925db9690937dc80eb9599bfcb7c77b8.tar.gz
shortcut-2ded26d6925db9690937dc80eb9599bfcb7c77b8.tar.bz2
shortcut-2ded26d6925db9690937dc80eb9599bfcb7c77b8.zip
Update LCOV comment
Change-Id: Ief49cc9e863c96826d2cf59d68831a60df71c321 Signed-off-by: mk5004.lee <mk5004.lee@samsung.com>
-rwxr-xr-xlib/src/shortcut_db.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/src/shortcut_db.c b/lib/src/shortcut_db.c
index ad76302..7a09f12 100755
--- a/lib/src/shortcut_db.c
+++ b/lib/src/shortcut_db.c
@@ -46,6 +46,7 @@
static bool is_db_corrupted = false;
+/* LCOV_EXCL_START */
static int __check_integrity_cb(void *pid, int argc, char **argv, char **notUsed)
{
if (strcmp(argv[0], "ok") != 0) {
@@ -57,7 +58,9 @@ static int __check_integrity_cb(void *pid, int argc, char **argv, char **notUsed
SHORTCUT_INFO("db integrity result : %s" , argv[0]);
return 0;
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
static int __recover_corrupted_db(sqlite3 *db)
{
int ret = SHORTCUT_ERROR_NONE;
@@ -91,7 +94,9 @@ out:
return ret;
}
+/* LCOV_EXCL_STOP */
+/* LCOV_EXCL_START */
EAPI int shortcut_db_init()
{
int ret = SHORTCUT_ERROR_NONE;
@@ -132,6 +137,7 @@ out:
return ret;
}
+/* LCOV_EXCL_STOP */
static sqlite3 *_open_db(void)
{