e_output: fix unchecked function return 80/173180/1
authorJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 20 Mar 2018 02:37:04 +0000 (11:37 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 20 Mar 2018 02:37:04 +0000 (11:37 +0900)
Change-Id: I4f614b00780d85f5f8e8d88e661ba75df6964d74

src/bin/e_output.c

index 41c585b10fca7119d0c1e6e907ff383dd80c7b76..3d21e7be9d99d2c635075e1640e5f662b7409f9f 100644 (file)
@@ -1508,7 +1508,7 @@ _e_output_capture_src_crop_get(E_Output *output, tdm_layer *layer, Eina_Rectangl
    fit->w = 0;
    fit->h = 0;
 
-   tdm_output_get_mode(output->toutput, &mode);
+   error = tdm_output_get_mode(output->toutput, &mode);
    EINA_SAFETY_ON_FALSE_RETURN_VAL(error == TDM_ERROR_NONE, EINA_FALSE);
 
    out_rect.x = 0;