From f024234090455d37a05d4e8e0afa02674b912bb2 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Wed, 29 Jun 2016 11:48:53 -0400 Subject: [PATCH] elementary: Fix erroneous usage of EINA_UNUSED 'data' parameter is actually used in this function, so remove mis-use of EINA_UNUSED in function @fix Signed-off-by: Chris Michael --- src/lib/elementary/elm_cnp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/elementary/elm_cnp.c b/src/lib/elementary/elm_cnp.c index a45ae51..7bb2190 100644 --- a/src/lib/elementary/elm_cnp.c +++ b/src/lib/elementary/elm_cnp.c @@ -411,7 +411,7 @@ _dnd_types_to_format(const char **types, int ntypes) } static Eina_Bool -_drag_cancel_animate(void *data EINA_UNUSED, double pos) +_drag_cancel_animate(void *data, double pos) { /* Animation to "move back" drag-window */ if (pos >= 0.99) { @@ -3701,7 +3701,6 @@ _wl_dnd_end(void *data EINA_UNUSED, int type EINA_UNUSED, void *event) /* No animation drop was committed */ evas_object_del(dragwin); } - dragwin = NULL; /* if not freed here, free in end of anim */ } -- 2.7.4