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

src/client.c

index f3f3df2..b3088fa 100644 (file)
@@ -1659,7 +1659,9 @@ static void master_started_cb(keynode_t *node, void *data)
        if (state == 1 && make_connection() == (int)LB_STATUS_SUCCESS) {
                int ret;
                ret = vconf_ignore_key_changed(VCONFKEY_MASTER_STARTED, master_started_cb);
-               DbgPrint("master_started vconf key de-registered [%d]\n", ret);
+               if (ret < 0) {
+                       DbgPrint("master_started vconf key de-registered [%d]\n", ret);
+               }
        }
 }