summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-06-05 11:51:21 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-06-05 12:07:57 -0700
commit183c45d35a737fd449c2792df80652860079f62e (patch)
tree6f6b573c970a03285791f2a0efd37687cab24c4b
parente83914d4963d6d16e398cccc227f4046a8725886 (diff)
downloadefl-183c45d35a737fd449c2792df80652860079f62e.tar.gz
ecore_wl2: silence gcc warning.
Code is correct, but gcc can not follow the branch if and believe it is worth triggering a warning.
-rw-r--r--src/lib/ecore_wl2/ecore_wl2_dnd.c2
1 files changed, 1 insertions, 1 deletions
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)
{