From 23bae1b48a72cc305cae35040366e676e0dfc975 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 21 Nov 2019 17:26:21 +0900 Subject: [PATCH] evas animation: removed unnecessray checking. pd->in is already verified earlier. Change-Id: I34752c4461345a2391de9bbf5a1f18c08d10990d --- src/lib/evas/canvas/efl_canvas_object_animation.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/evas/canvas/efl_canvas_object_animation.c b/src/lib/evas/canvas/efl_canvas_object_animation.c index 67dec4a..b86912d 100644 --- a/src/lib/evas/canvas/efl_canvas_object_animation.c +++ b/src/lib/evas/canvas/efl_canvas_object_animation.c @@ -61,9 +61,6 @@ _animator_cb(void *data, const Efl_Event *ev EINA_UNUSED) efl_event_callback_call(obj, EFL_CANVAS_OBJECT_ANIMATION_EVENT_ANIMATION_PROGRESS_UPDATED, &pd->in->progress); - //Check if animation stopped in animation_progress,updated callback. - if (!pd->in) return; - //Not end. Keep going. if ((pd->in->speed < 0 && EINA_DBL_EQ(pd->in->progress, 0)) || (pd->in->speed > 0 && EINA_DBL_EQ(pd->in->progress, 1.0))) -- 2.7.4