forked from enlightenment/efl
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
This commit is contained in:
parent
75def4f722
commit
f4b521e165
|
@ -56,9 +56,9 @@ ecore_x_gesture_events_select(Ecore_X_Window win,
|
|||
|
||||
return EINA_TRUE;
|
||||
#else /* ifdef ECORE_XGESTURE */
|
||||
win __EINA_UNUSED__;
|
||||
mask __EINA_UNUSED__;
|
||||
return EINA_FALSE;
|
||||
win = 0;
|
||||
mask = 0;
|
||||
#endif /* ifdef ECORE_XGESTURE */
|
||||
}
|
||||
|
||||
|
@ -80,8 +80,8 @@ ecore_x_gesture_events_selected_get(Ecore_X_Window win)
|
|||
|
||||
return mask;
|
||||
#else /* ifdef ECORE_XGESTURE */
|
||||
win __EINA_UNUSED__;
|
||||
return ECORE_X_GESTURE_EVENT_MASK_NONE;
|
||||
win = 0;
|
||||
#endif /* ifdef ECORE_XGESTURE */
|
||||
}
|
||||
|
||||
|
@ -102,10 +102,10 @@ ecore_x_gesture_event_grab(Ecore_X_Window win,
|
|||
|
||||
return EINA_TRUE;
|
||||
#else /* ifdef ECORE_XGESTURE */
|
||||
win __EINA_UNUSED__;
|
||||
type __EINA_UNUSED__;
|
||||
num_fingers __EINA_UNUSED__;
|
||||
return EINA_FALSE;
|
||||
win = 0;
|
||||
type = 0;
|
||||
num_fingers = 0;
|
||||
#endif /* ifdef ECORE_XGESTURE */
|
||||
}
|
||||
|
||||
|
@ -128,10 +128,10 @@ ecore_x_gesture_event_ungrab(Ecore_X_Window win,
|
|||
|
||||
return EINA_TRUE;
|
||||
#else /* ifdef ECORE_XGESTURE */
|
||||
win __EINA_UNUSED__;
|
||||
type __EINA_UNUSED__;
|
||||
num_fingers __EINA_UNUSED__;
|
||||
return EINA_FALSE;
|
||||
win = 0;
|
||||
type = 0;
|
||||
num_fingers = 0;
|
||||
#endif /* ifdef ECORE_XGESTURE */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue