devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=99e0695e424823225fce00dc543102ceac5a7961

commit 99e0695e424823225fce00dc543102ceac5a7961
Author: Chris Michael <[email protected]>
Date:   Fri Feb 27 09:44:16 2015 -0500

    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 <[email protected]>
---
 src/lib/ecore_x/xcb/ecore_xcb_events.c | 6 ++----
 1 file 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 ffcca53..e37b2aa 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

-- 


Reply via email to