From: Carsten Haitzler (Rasterman) Date: Mon, 8 Aug 2016 08:06:40 +0000 (+0900) Subject: elm init - handle return value of ecore_file_init make coverity happy X-Git-Tag: upstream/1.20.0~4883 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5dbf6cfbab874aa2ecb12284e97e6dfda7d3d39;p=platform%2Fupstream%2Fefl.git elm init - handle return value of ecore_file_init make coverity happy this isn't an issue as init will never fail, but makes coverity happy with CID 1353589 --- diff --git a/src/lib/elementary/elm_main.c b/src/lib/elementary/elm_main.c index 3a22a26..461bf83 100644 --- a/src/lib/elementary/elm_main.c +++ b/src/lib/elementary/elm_main.c @@ -677,7 +677,8 @@ elm_quicklaunch_init(int argc, if (!ELM_EVENT_PROCESS_FOREGROUND) ELM_EVENT_PROCESS_FOREGROUND = ecore_event_type_new(); - ecore_file_init(); + if (!ecore_file_init()) + ERR("Elementary cannot init ecore_file"); eio_init(); _elm_exit_handler =