summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_x/xlib
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2012-06-26 10:55:09 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2012-06-26 10:55:09 +0000
commitf4b521e165fec5772eecde9f00e211e13cc4fdec (patch)
tree1311321a236f4394414625627b3c10f450446195 /legacy/ecore/src/lib/ecore_x/xlib
parent75def4f722eb629daf91d97139d8b55ccc35f6df (diff)
ecore/gesture: Don't do dead assignments after return.
Raster added this for some unused param warnings in 65142. Now we have complains about dead assigments and I hope this finally mutes both of them. Thanks to Tom for pointing it out. SVN revision: 72872
Diffstat (limited to 'legacy/ecore/src/lib/ecore_x/xlib')
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_gesture.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_gesture.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_gesture.c
index 3c390a9..f7d95a0 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_gesture.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_gesture.c
@@ -56,9 +56,9 @@ ecore_x_gesture_events_select(Ecore_X_Window win,
56 56
57 return EINA_TRUE; 57 return EINA_TRUE;
58#else /* ifdef ECORE_XGESTURE */ 58#else /* ifdef ECORE_XGESTURE */
59 win __EINA_UNUSED__;
60 mask __EINA_UNUSED__;
59 return EINA_FALSE; 61 return EINA_FALSE;
60 win = 0;
61 mask = 0;
62#endif /* ifdef ECORE_XGESTURE */ 62#endif /* ifdef ECORE_XGESTURE */
63} 63}
64 64
@@ -80,8 +80,8 @@ ecore_x_gesture_events_selected_get(Ecore_X_Window win)
80 80
81 return mask; 81 return mask;
82#else /* ifdef ECORE_XGESTURE */ 82#else /* ifdef ECORE_XGESTURE */
83 win __EINA_UNUSED__;
83 return ECORE_X_GESTURE_EVENT_MASK_NONE; 84 return ECORE_X_GESTURE_EVENT_MASK_NONE;
84 win = 0;
85#endif /* ifdef ECORE_XGESTURE */ 85#endif /* ifdef ECORE_XGESTURE */
86} 86}
87 87
@@ -102,10 +102,10 @@ ecore_x_gesture_event_grab(Ecore_X_Window win,
102 102
103 return EINA_TRUE; 103 return EINA_TRUE;
104#else /* ifdef ECORE_XGESTURE */ 104#else /* ifdef ECORE_XGESTURE */
105 win __EINA_UNUSED__;
106 type __EINA_UNUSED__;
107 num_fingers __EINA_UNUSED__;
105 return EINA_FALSE; 108 return EINA_FALSE;
106 win = 0;
107 type = 0;
108 num_fingers = 0;
109#endif /* ifdef ECORE_XGESTURE */ 109#endif /* ifdef ECORE_XGESTURE */
110} 110}
111 111
@@ -128,10 +128,10 @@ ecore_x_gesture_event_ungrab(Ecore_X_Window win,
128 128
129 return EINA_TRUE; 129 return EINA_TRUE;
130#else /* ifdef ECORE_XGESTURE */ 130#else /* ifdef ECORE_XGESTURE */
131 win __EINA_UNUSED__;
132 type __EINA_UNUSED__;
133 num_fingers __EINA_UNUSED__;
131 return EINA_FALSE; 134 return EINA_FALSE;
132 win = 0;
133 type = 0;
134 num_fingers = 0;
135#endif /* ifdef ECORE_XGESTURE */ 135#endif /* ifdef ECORE_XGESTURE */
136} 136}
137 137