devilhorns pushed a commit to branch master.
commit 1debfc141a56a6b8cf0fbad06eb6cc412e78e25a
Author: Chris Michael <[email protected]>
Date: Mon Jul 8 16:08:14 2013 +0100
Initialize 'buf' to NULL (to avoid compiler warning)
Signed-off-by: Chris Michael <[email protected]>
---
src/lib/ecore_ipc/ecore_ipc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/ecore_ipc/ecore_ipc.c b/src/lib/ecore_ipc/ecore_ipc.c
index 9ee22cf..9b0efc3 100644
--- a/src/lib/ecore_ipc/ecore_ipc.c
+++ b/src/lib/ecore_ipc/ecore_ipc.c
@@ -1402,7 +1402,7 @@ _ecore_ipc_event_server_data(void *data EINA_UNUSED, int
ev_type EINA_UNUSED, vo
Ecore_Ipc_Server *svr;
Ecore_Ipc_Msg_Head msg;
int offset = 0;
- unsigned char *buf;
+ unsigned char *buf = NULL;
svr = ecore_con_server_data_get(e->server);
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev