summaryrefslogtreecommitdiff
path: root/src/lib/evas/common
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-08 11:54:45 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-08 21:19:39 +0900
commitb5348e47cc13258d7b92ba5ebae281556076c3ae (patch)
treeceecabe451d6ec7a76dffca3d5dbfecb0cce3fd3 /src/lib/evas/common
parentc657d41fc3342b95030bdf2acde070895cf091b2 (diff)
evas image load - remove unreachable code
it's just printing a warning anyway and coverity CID 1368210 is right as it says it's unreachable. fix.
Diffstat (limited to 'src/lib/evas/common')
-rw-r--r--src/lib/evas/common/evas_image_load.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/lib/evas/common/evas_image_load.c b/src/lib/evas/common/evas_image_load.c
index ca9a28c998..b871bfe7c8 100644
--- a/src/lib/evas/common/evas_image_load.c
+++ b/src/lib/evas/common/evas_image_load.c
@@ -359,22 +359,6 @@ evas_common_load_rgba_image_module_from_file(Image_Entry *ie)
359 INF("exhausted all means to load image '%s'", file); 359 INF("exhausted all means to load image '%s'", file);
360 return EVAS_LOAD_ERROR_UNKNOWN_FORMAT; 360 return EVAS_LOAD_ERROR_UNKNOWN_FORMAT;
361 361
362 if (ret != EVAS_LOAD_ERROR_NONE)
363 {
364 const char *modname = NULL;
365 int modversion = -1;
366
367 if (em && em->definition)
368 {
369 modname = em->definition->name;
370 modversion = em->definition->version;
371 }
372 WRN("loader '%s' (version %d) "
373 "handled file '%s', key '%s' with errors: %s",
374 modname ? modname : "<UNKNOWN>", modversion,
375 file, ie->key ? ie->key : "",
376 evas_load_error_str(ret));
377 }
378end: 362end:
379 DBG("loader '%s' used for file %s", 363 DBG("loader '%s' used for file %s",
380 (em && em->definition && em->definition->name) ? 364 (em && em->definition && em->definition->name) ?