Fix build error (set but unused variables)
authorSung-jae Park <nicesj.park@samsung.com>
Fri, 14 Feb 2014 00:44:08 +0000 (09:44 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 14 Feb 2014 00:44:08 +0000 (09:44 +0900)
Change-Id: I894e5a6690e464685d0b7612dc46e90770e9f92f

lib/src/icon.c
lib/src/main.c

index fa2bd11..8685f89 100644 (file)
@@ -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);
        }
 }
 
index 253c6c3..f857e4c 100644 (file)
@@ -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);
        }
 }