cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=f9fa8bfcb002cba71d182c40824a225c40d162bc
commit f9fa8bfcb002cba71d182c40824a225c40d162bc Author: Woochan Lee <wc0917....@samsung.com> Date: Mon Apr 9 10:18:38 2018 -0700 ecore_evas: check return value. Summary: After migration this code in Tizen. The coverity said it needs to check return value(CID 39562). Reviewers: raster, myoungwoon, woohyun, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5907 Reviewed-by: Cedric BAIL <ced...@osg.samsung.com> --- src/lib/ecore_evas/ecore_evas_buffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c index efa729cb0b..9b00ad9307 100644 --- a/src/lib/ecore_evas/ecore_evas_buffer.c +++ b/src/lib/ecore_evas/ecore_evas_buffer.c @@ -503,7 +503,8 @@ _ecore_evas_buffer_alpha_set(Ecore_Evas *ee, int alpha) einfo->info.depth_type = EVAS_ENGINE_BUFFER_DEPTH_ARGB32; else einfo->info.depth_type = EVAS_ENGINE_BUFFER_DEPTH_RGB32; - evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo); + if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo)) + ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver); } } } --