cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=183c45d35a737fd449c2792df80652860079f62e

commit 183c45d35a737fd449c2792df80652860079f62e
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Mon Jun 5 11:51:21 2017 -0700

    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)
      {

-- 


Reply via email to