diff options
author | Sung-jae Park <nicesj.park@samsung.com> | 2014-02-14 09:44:08 +0900 |
---|---|---|
committer | Sung-jae Park <nicesj.park@samsung.com> | 2014-02-14 09:44:08 +0900 |
commit | 9385f361d827bef0f2e55647f9d14a3c95d17ee7 (patch) | |
tree | 3c3b7a79582d1f4531e2603140327ca75ed62bee | |
parent | 633ad1943ff8bcb16c3b8f63362b492d9e5b89bf (diff) | |
download | shortcut-9385f361d827bef0f2e55647f9d14a3c95d17ee7.tar.gz shortcut-9385f361d827bef0f2e55647f9d14a3c95d17ee7.tar.bz2 shortcut-9385f361d827bef0f2e55647f9d14a3c95d17ee7.zip |
Fix build error (set but unused variables)
Change-Id: I894e5a6690e464685d0b7612dc46e90770e9f92f
-rw-r--r-- | lib/src/icon.c | 4 | ||||
-rw-r--r-- | lib/src/main.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/lib/src/icon.c b/lib/src/icon.c index fa2bd11..8685f89 100644 --- a/lib/src/icon.c +++ b/lib/src/icon.c @@ -528,9 +528,7 @@ static void master_started_cb(keynode_t *node, void *user_data) } if (state == 1 && make_connection() == SHORTCUT_SUCCESS) { - int ret; - ret = vconf_ignore_key_changed(VCONFKEY_MASTER_STARTED, master_started_cb); - DbgPrint("Ignore VCONF [%d]\n", ret); + (void)vconf_ignore_key_changed(VCONFKEY_MASTER_STARTED, master_started_cb); } } diff --git a/lib/src/main.c b/lib/src/main.c index 253c6c3..f857e4c 100644 --- a/lib/src/main.c +++ b/lib/src/main.c @@ -204,9 +204,7 @@ static void master_started_cb(keynode_t *node, void *user_data) } if (state == 1 && make_connection() == SHORTCUT_SUCCESS) { - int ret; - ret = vconf_ignore_key_changed(VCONFKEY_MASTER_STARTED, master_started_cb); - DbgPrint("Ignore VCONF [%d]\n", ret); + (void)vconf_ignore_key_changed(VCONFKEY_MASTER_STARTED, master_started_cb); } } |