diff options
author | Chris Michael <cp.michael@samsung.com> | 2015-02-27 09:44:16 -0500 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2015-02-27 09:44:16 -0500 |
commit | 99e0695e424823225fce00dc543102ceac5a7961 (patch) | |
tree | 331274369d3fa1045f775c04594efc67bf298c52 | |
parent | 5f1ea9403f490a4285b826c2515d4df2177948da (diff) | |
download | efl-99e0695e424823225fce00dc543102ceac5a7961.tar.gz |
ecore-xcb: Fix 'variable set but not used' message
Summary: As we do not use the returned Ecore_Event here, there is no
need to assign it
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r-- | src/lib/ecore_x/xcb/ecore_xcb_events.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/ecore_x/xcb/ecore_xcb_events.c b/src/lib/ecore_x/xcb/ecore_xcb_events.c index ffcca53724..e37b2aac67 100644 --- a/src/lib/ecore_x/xcb/ecore_xcb_events.c +++ b/src/lib/ecore_x/xcb/ecore_xcb_events.c @@ -2521,7 +2521,6 @@ _ecore_xcb_event_mouse_move(uint16_t timestamp, int16_t mry) { Ecore_Event_Mouse_Move *e; - Ecore_Event *event; if (!(e = malloc(sizeof(Ecore_Event_Mouse_Move)))) return; @@ -2546,14 +2545,13 @@ _ecore_xcb_event_mouse_move(uint16_t timestamp, e->multi.root.x = mrx; e->multi.root.y = mry; - event = ecore_event_add(ECORE_EVENT_MOUSE_MOVE, e, - _ecore_xcb_event_mouse_move_free, NULL); + ecore_event_add(ECORE_EVENT_MOUSE_MOVE, e, + _ecore_xcb_event_mouse_move_free, NULL); _ecore_xcb_event_last_time = e->timestamp; _ecore_xcb_event_last_window = e->window; _ecore_xcb_event_last_root_x = root_x; _ecore_xcb_event_last_root_y = root_y; -// _ecore_xcb_event_last_mouse_move_event = event; } static void |