elm init - handle return value of ecore_file_init make coverity happy
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Mon, 8 Aug 2016 08:06:40 +0000 (17:06 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Mon, 8 Aug 2016 08:47:14 +0000 (17:47 +0900)
this isn't an issue as init will never fail, but makes coverity happy
with CID 1353589

src/lib/elementary/elm_main.c

index 3a22a26..461bf83 100644 (file)
@@ -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 =