summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_x/xlib
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@datenfreihafen.org>2012-06-26 11:48:24 +0000
committerStefan Schmidt <stefan@datenfreihafen.org>2012-06-26 11:48:24 +0000
commitf471953297d4e018acd9c26617b7a9c0d8bd6439 (patch)
treed6e0c0374332c94ca9832069559eee6452b106e9 /legacy/ecore/src/lib/ecore_x/xlib
parent7397d6ee48b879ba4056c6a26167e6d30c806b4e (diff)
Revert "ecore/gesture: Don't do dead assignments after return."
This reverts commit b18eddb5a74e84e05e0f797b659d0719f56d9434. SVN revision: 72876
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 f7d95a0..3c390a9 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__;
61 return EINA_FALSE; 59 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__;
84 return ECORE_X_GESTURE_EVENT_MASK_NONE; 83 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__;
108 return EINA_FALSE; 105 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__;
134 return EINA_FALSE; 131 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