From: Jean-Philippe Andre Date: Tue, 21 Apr 2015 11:03:33 +0000 (+0900) Subject: Ecore_Con: Fix clang warnings X-Git-Tag: v1.14.0-beta3~66 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a812df731101bf0f2f2afa9ef3baa662d3b7fcfa;p=platform%2Fupstream%2Fefl.git Ecore_Con: Fix clang warnings --- diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c index e8d7ab4..e06a1a3 100644 --- a/src/lib/ecore_con/ecore_con.c +++ b/src/lib/ecore_con/ecore_con.c @@ -1143,7 +1143,7 @@ ecore_con_event_server_data(Ecore_Con_Server *obj, unsigned char *buf, int num, ecore_event_add(ECORE_CON_EVENT_SERVER_DATA, e, _ecore_con_event_server_data_free, NULL); { - Ecore_Con_Event_Data_Received event_info = { 0 }; + Ecore_Con_Event_Data_Received event_info = { NULL, 0 }; event_info.data = e->data; event_info.size = e->size; eo_do(obj, eo_event_callback_call(ECORE_CON_BASE_EVENT_DATA_RECEIVED, &event_info)); @@ -1250,7 +1250,7 @@ ecore_con_event_client_data(Ecore_Con_Client *obj, unsigned char *buf, int num, ecore_event_add(ECORE_CON_EVENT_CLIENT_DATA, e, (Ecore_End_Cb)_ecore_con_event_client_data_free, cl->host_server); { - Ecore_Con_Event_Data_Received event_info = { 0 }; + Ecore_Con_Event_Data_Received event_info = { NULL, 0 }; event_info.data = e->data; event_info.size = e->size; eo_do(obj, eo_event_callback_call(ECORE_CON_BASE_EVENT_DATA_RECEIVED, &event_info));