raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e5dbf6cfbab874aa2ecb12284e97e6dfda7d3d39

commit e5dbf6cfbab874aa2ecb12284e97e6dfda7d3d39
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Mon Aug 8 17:06:40 2016 +0900

    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
---
 src/lib/elementary/elm_main.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 =

-- 


Reply via email to