raster pushed a commit to branch master.

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

commit 46b97aba78cec8a2d253c3a985fbf194c3ca6b73
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Fri Jul 8 18:59:21 2016 +0900

    evas module load - make coverity happy but not a bug
    
    silence CID 1357364
---
 src/lib/evas/file/evas_module.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/evas/file/evas_module.c b/src/lib/evas/file/evas_module.c
index a684f84..8be56c6 100644
--- a/src/lib/evas/file/evas_module.c
+++ b/src/lib/evas/file/evas_module.c
@@ -440,8 +440,8 @@ evas_module_find_type(Evas_Module_Type type, const char 
*name)
    em = eina_hash_find(evas_modules[type], name);
    if (em)
      {
-        evas_module_load(em);
-        return em;
+        if (evas_module_load(em)) return em;
+        return NULL;
      }
 
    run_in_tree = !!getenv("EFL_RUN_IN_TREE");

-- 


Reply via email to