Fix build warning
authorSung-jae Park <nicesj.park@samsung.com>
Mon, 20 Jan 2014 09:35:59 +0000 (18:35 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Mon, 20 Jan 2014 09:35:59 +0000 (18:35 +0900)
Change-Id: I9bcb9fa619807d972bda86d795e0e984c1091578

packaging/libcom-core.spec
src/com-core_thread.c

index 4efd655..4cc9b64 100644 (file)
@@ -1,6 +1,6 @@
 Name: libcom-core
 Summary: Library for the light-weight IPC 
-Version: 0.5.6
+Version: 0.5.7
 Release: 1
 Group: Base/IPC
 License: Apache-2.0
index 28ff288..eaa88b5 100644 (file)
@@ -404,16 +404,13 @@ static void *client_cb(void *data)
 
                ret = secure_socket_recv(tcb->handle, chunk->data, chunk->size, &chunk->pid);
                if (ret <= 0) {
-                       int chunk_size;
-
-                       chunk_size = chunk->size;
-
                        destroy_chunk(chunk);
                        if (ret == -EAGAIN) {
-                               DbgPrint("Retry to get data (%d)\n", chunk_size);
+                               DbgPrint("Retry to get data\n");
                                continue;
                        }
-                       DbgPrint("Recv returns: %d (req.size: %d)\n", ret, chunk_size);
+
+                       DbgPrint("Recv returns: %d\n", ret);
                        break;
                }