From: Carsten Haitzler (Rasterman) Date: Fri, 8 Jul 2016 09:59:21 +0000 (+0900) Subject: evas module load - make coverity happy but not a bug X-Git-Tag: upstream/1.20.0~5294 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=46b97aba78cec8a2d253c3a985fbf194c3ca6b73;p=platform%2Fupstream%2Fefl.git evas module load - make coverity happy but not a bug silence CID 1357364 --- 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");