From 183c45d35a737fd449c2792df80652860079f62e Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 5 Jun 2017 11:51:21 -0700 Subject: [PATCH] ecore_wl2: silence gcc warning. Code is correct, but gcc can not follow the branch if and believe it is worth triggering a warning. --- src/lib/ecore_wl2/ecore_wl2_dnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_wl2/ecore_wl2_dnd.c b/src/lib/ecore_wl2/ecore_wl2_dnd.c index f0376cb0df..cd04a12883 100644 --- a/src/lib/ecore_wl2/ecore_wl2_dnd.c +++ b/src/lib/ecore_wl2/ecore_wl2_dnd.c @@ -163,7 +163,7 @@ static void data_source_event_emit(Ecore_Wl2_Input *input, int event, Eina_Bool cancel) { struct _Ecore_Wl2_Event_Data_Source_Event *ev; - Ecore_Wl2_Event_Data_Source_End *ev2; + Ecore_Wl2_Event_Data_Source_End *ev2 = NULL; if (event == ECORE_WL2_EVENT_DATA_SOURCE_END) {