From cb9a2410af8639cb3dfb084c20759510145cdf63 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Thu, 14 Aug 2014 18:44:46 +0900 Subject: [PATCH] evas cache - fix logically dead code fixes CID 1039930 --- src/lib/evas/cache/evas_cache_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/evas/cache/evas_cache_image.c b/src/lib/evas/cache/evas_cache_image.c index 770495054b..b36582e560 100644 --- a/src/lib/evas/cache/evas_cache_image.c +++ b/src/lib/evas/cache/evas_cache_image.c @@ -743,7 +743,7 @@ evas_cache_image_mmap_request(Evas_Cache_Image *cache, // FIXME: In the long term we should certainly merge both mmap and filename path // by just using the mmap path. But for the time being, let's just have two path // as it is unlikely to really have an impact on real world application - if ((!f) || (!f && !key)) + if (!f) { *error = EVAS_LOAD_ERROR_GENERIC; return NULL; -- 2.34.1