fix warnings

SVN revision: 16862
This commit is contained in:
Carsten Haitzler 2005-09-23 06:28:05 +00:00
parent f3e18a0745
commit 21371e45ea
2 changed files with 2 additions and 3 deletions

View File

@ -985,7 +985,7 @@ _ecore_ipc_event_client_data(void *data __UNUSED__, int ev_type __UNUSED__, void
redo:
if ((cl->buf_size - offset) >= (int)sizeof(int))
{
int s, md, d, head;
int s, md, d = 0, head;
unsigned char *dd;
dd = (unsigned char *)&head;
@ -1158,7 +1158,7 @@ _ecore_ipc_event_server_data(void *data __UNUSED__, int ev_type __UNUSED__, void
redo:
if ((svr->buf_size - offset) >= (int)sizeof(int))
{
int s, md, d, head;
int s, md, d = 0, head;
unsigned char *dd;
dd = (unsigned char *)&head;

View File

@ -20,7 +20,6 @@ typedef struct _Ecore_Ipc_Msg_Head Ecore_Ipc_Msg_Head;
#endif
struct _Ecore_Ipc_Msg_Head
{
int head;
int major;
int minor;
int ref;