e_output: fix return value error 79/213779/2
authorJunkyeong Kim <jk0430.kim@samsung.com>
Wed, 11 Sep 2019 07:07:57 +0000 (16:07 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 16 Sep 2019 02:27:51 +0000 (02:27 +0000)
Change-Id: I523654ce71ea26b9b510e7401a9560a096cf5438
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/bin/e_output.c

index 5f95918..6ed61c1 100644 (file)
@@ -1086,10 +1086,10 @@ _e_output_tdm_capture_create(E_Output *output, tdm_capture_capability cap)
    E_Comp_Screen *e_comp_screen = NULL;
 
    e_comp_screen = e_comp->e_comp_screen;
-   EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp_screen, EINA_FALSE);
+   EINA_SAFETY_ON_NULL_RETURN_VAL(e_comp_screen, NULL);
 
    error = tdm_display_get_capture_capabilities(e_comp_screen->tdisplay, &capabilities);
-   EINA_SAFETY_ON_FALSE_RETURN_VAL(error == TDM_ERROR_NONE, EINA_FALSE);
+   EINA_SAFETY_ON_FALSE_RETURN_VAL(error == TDM_ERROR_NONE, NULL);
 
    if (!(capabilities & cap))
      return NULL;