ecore animator - remove dead code
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 9 Jul 2016 03:09:41 +0000 (12:09 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 9 Jul 2016 03:09:41 +0000 (12:09 +0900)
fix CID 1356618

src/lib/ecore/ecore_anim.c

index 4bf148d..fc8eb88 100644 (file)
@@ -630,7 +630,6 @@ ecore_animator_del(Ecore_Animator *animator)
    if (!animator) return NULL;
    EINA_MAIN_LOOP_CHECK_RETURN_VAL(NULL);
 
-   if (!animator) return NULL;
    if (animator->delete_me)
      {
         data = animator->data;