evas animation: removed unnecessray checking.

pd->in is already verified earlier.
This commit is contained in:
Hermet Park 2019-11-21 17:26:21 +09:00
parent a46bddc490
commit 959c503a71
1 changed files with 0 additions and 3 deletions

View File

@ -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)))