summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWoochan Lee <wc0917.lee@samsung.com>2018-04-09 10:18:38 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-04-09 10:36:43 -0700
commitf9fa8bfcb002cba71d182c40824a225c40d162bc (patch)
treeb4716b013267276314943571cffea13ba30e8a6b
parent982ad90f573b8754cdc7ac746cd8ba9ca8e9a3d9 (diff)
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 <cedric@osg.samsung.com>
-rw-r--r--src/lib/ecore_evas/ecore_evas_buffer.c3
1 files changed, 2 insertions, 1 deletions
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)
503 einfo->info.depth_type = EVAS_ENGINE_BUFFER_DEPTH_ARGB32; 503 einfo->info.depth_type = EVAS_ENGINE_BUFFER_DEPTH_ARGB32;
504 else 504 else
505 einfo->info.depth_type = EVAS_ENGINE_BUFFER_DEPTH_RGB32; 505 einfo->info.depth_type = EVAS_ENGINE_BUFFER_DEPTH_RGB32;
506 evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo); 506 if (!evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo))
507 ERR("evas_engine_info_set() for engine '%s' failed.", ee->driver);
507 } 508 }
508 } 509 }
509} 510}