From 9385f361d827bef0f2e55647f9d14a3c95d17ee7 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Fri, 14 Feb 2014 09:44:08 +0900 Subject: [PATCH] Fix build error (set but unused variables) Change-Id: I894e5a6690e464685d0b7612dc46e90770e9f92f --- lib/src/icon.c | 4 +--- 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); } } -- 2.7.4