From 46b97aba78cec8a2d253c3a985fbf194c3ca6b73 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 8 Jul 2016 18:59:21 +0900 Subject: [PATCH] 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"); -- 2.7.4