cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=412d311830e6e9ae9aa464e43986df312fb1da45

commit 412d311830e6e9ae9aa464e43986df312fb1da45
Author: Srivardhan Hebbar <sri.heb...@samsung.com>
Date:   Mon Oct 12 13:24:44 2015 -0700

    ecore_x: removing useless assignment pointer.
    
    Summary:
    The assignment to size has no effect on the caller and compiler
    complain about it. Do shutdown compiler complain in a more reliable
    way.
    
    Signed-off-by:
    Srivardhan Hebbar <sri.heb...@samsung.com>
    
    Reviewers: cedric
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D3156
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/ecore_x/xlib/ecore_x_cursor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_x/xlib/ecore_x_cursor.c 
b/src/lib/ecore_x/xlib/ecore_x_cursor.c
index 22f2789..19cc233 100644
--- a/src/lib/ecore_x/xlib/ecore_x_cursor.c
+++ b/src/lib/ecore_x/xlib/ecore_x_cursor.c
@@ -245,7 +245,7 @@ ecore_x_cursor_size_set(int size)
    XcursorSetDefaultSize(_ecore_x_disp, size);
    if (_ecore_xlib_sync) ecore_x_sync();
 #else /* ifdef ECORE_XCURSOR */
-   size = 0;
+   (void) size;
 #endif /* ifdef ECORE_XCURSOR */
 }
 

-- 


Reply via email to