efl_animation: Fix shadowing local variable warning
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 13 Oct 2017 06:01:24 +0000 (15:01 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 13 Oct 2017 06:37:58 +0000 (15:37 +0900)
src/lib/evas/canvas/efl_animation_object_group_parallel.c
src/lib/evas/canvas/efl_animation_object_group_sequential.c

index 6c8a9ae..dd60436 100644 (file)
@@ -217,7 +217,7 @@ _efl_animation_object_group_parallel_efl_animation_object_progress_set(Eo *eo_ob
                      efl_animation_object_repeat_count_get(anim_obj);
                   if (repeat_count > 0)
                     {
-                       int repeated_count = _repeated_count_get(pd, anim_obj);
+                       repeated_count = _repeated_count_get(pd, anim_obj);
                        if (repeated_count < repeat_count)
                          {
                             repeated_count++;
index 1f4dd7d..0f07a59 100644 (file)
@@ -222,7 +222,7 @@ _efl_animation_object_group_sequential_efl_animation_object_progress_set(Eo *eo_
                      efl_animation_object_repeat_count_get(anim_obj);
                   if (repeat_count > 0)
                     {
-                       int repeated_count = _repeated_count_get(pd, anim_obj);
+                       repeated_count = _repeated_count_get(pd, anim_obj);
                        if (repeated_count < repeat_count)
                          {
                             repeated_count++;