From f1dd333e81daa5db009cd24274e77006ecc0ad69 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Tue, 16 Jan 2018 20:34:48 +0900 Subject: [PATCH] animation: Fix some warnings including a real one Real issue here: .../efl_animation_group.c:120:40: warning: for loop has empty body [-Wempty-body] EINA_LIST_FREE(pd->animations, anim); --- src/lib/evas/canvas/efl_animation_group.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/evas/canvas/efl_animation_group.c b/src/lib/evas/canvas/efl_animation_group.c index 0aef2eac51..1792f0e572 100644 --- a/src/lib/evas/canvas/efl_animation_group.c +++ b/src/lib/evas/canvas/efl_animation_group.c @@ -23,7 +23,7 @@ _efl_animation_group_animation_add(Eo *eo_obj, EOLIAN static void _efl_animation_group_animation_del(Eo *eo_obj EINA_UNUSED, Efl_Animation_Group_Data *pd, - Efl_Animation*animation) + Efl_Animation *animation) { Eina_List *list; if (!animation) return; @@ -36,7 +36,8 @@ _efl_animation_group_animation_del(Eo *eo_obj EINA_UNUSED, } else { - ERR("Animation(%p) is not in the group animation."); + ERR("Animation(%s@%p) is not in the group animation.", + efl_class_name_get(animation), animation); } } @@ -117,7 +118,7 @@ _efl_animation_group_efl_object_destructor(Eo *eo_obj, { Efl_Animation *anim; - EINA_LIST_FREE(pd->animations, anim); + EINA_LIST_FREE(pd->animations, anim) efl_unref(anim); efl_destructor(efl_super(eo_obj, MY_CLASS));