e_comp_wl_video: Remove unreachable code. 03/180603/1
authorSeunghun Lee <shiin.lee@samsung.com>
Fri, 18 May 2018 02:27:40 +0000 (11:27 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Thu, 31 May 2018 06:34:31 +0000 (15:34 +0900)
Change-Id: Idd64b99a7d0651a3231f167231b1f8e690e18bb7

src/bin/e_comp_wl_video.c

index bcc4caf..8ca8841 100644 (file)
@@ -2153,15 +2153,8 @@ _e_video_set(E_Video *video, E_Client *ec)
    const tdm_prop *props;
    tdm_error tdm_err = TDM_ERROR_NONE;
 
-   if (!video || !ec)
-     return;
-
-   if (video->ec)
-     {
-        VWR("already has ec");
-        return;
-     }
-
+   /* TODO Consider to move this check code where the entry of creation of
+    * video_object */
    EINA_SAFETY_ON_TRUE_RETURN(e_object_is_del(E_OBJECT(ec)));
 
    video->ec = ec;