seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=4176d458a8836eeed7a18d592dc9180f042c585c

commit 4176d458a8836eeed7a18d592dc9180f042c585c
Author: Daniel Juyung Seo <seojuyu...@gmail.com>
Date:   Thu Mar 20 02:10:08 2014 +0900

    cnp: Fixed build warning.
    
    elm_cnp.c: In function '_x11_dnd_leave':
    elm_cnp.c:1547:69: warning: unused parameter 'ev' [-Wunused-parameter]
---
 src/lib/elm_cnp.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index 1816334..b119579 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -1544,7 +1544,11 @@ _x11_dnd_position(void *data EINA_UNUSED, int etype 
EINA_UNUSED, void *ev)
 }
 
 static Eina_Bool
+#ifdef DEBUGON
 _x11_dnd_leave(void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev)
+#else
+_x11_dnd_leave(void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev 
EINA_UNUSED)
+#endif
 {
    cnp_debug("Leave %x\n", ((Ecore_X_Event_Xdnd_Leave *)ev)->win);
    _x11_dnd_dropable_handle(NULL, 0, 0, ELM_XDND_ACTION_UNKNOWN);

-- 


Reply via email to