summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2018-01-16 20:34:48 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2018-01-16 22:04:55 +0900
commitf1dd333e81daa5db009cd24274e77006ecc0ad69 (patch)
treea7f474339d0cbc969f988bd01bd1e4698006535a
parent588995da317520fc92660b89b0864bb1f25abc09 (diff)
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);
-rw-r--r--src/lib/evas/canvas/efl_animation_group.c7
1 files 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,
23EOLIAN static void 23EOLIAN static void
24_efl_animation_group_animation_del(Eo *eo_obj EINA_UNUSED, 24_efl_animation_group_animation_del(Eo *eo_obj EINA_UNUSED,
25 Efl_Animation_Group_Data *pd, 25 Efl_Animation_Group_Data *pd,
26 Efl_Animation*animation) 26 Efl_Animation *animation)
27{ 27{
28 Eina_List *list; 28 Eina_List *list;
29 if (!animation) return; 29 if (!animation) return;
@@ -36,7 +36,8 @@ _efl_animation_group_animation_del(Eo *eo_obj EINA_UNUSED,
36 } 36 }
37 else 37 else
38 { 38 {
39 ERR("Animation(%p) is not in the group animation."); 39 ERR("Animation(%s@%p) is not in the group animation.",
40 efl_class_name_get(animation), animation);
40 } 41 }
41} 42}
42 43
@@ -117,7 +118,7 @@ _efl_animation_group_efl_object_destructor(Eo *eo_obj,
117{ 118{
118 Efl_Animation *anim; 119 Efl_Animation *anim;
119 120
120 EINA_LIST_FREE(pd->animations, anim); 121 EINA_LIST_FREE(pd->animations, anim)
121 efl_unref(anim); 122 efl_unref(anim);
122 123
123 efl_destructor(efl_super(eo_obj, MY_CLASS)); 124 efl_destructor(efl_super(eo_obj, MY_CLASS));