raster pushed a commit to branch master.

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

commit cb9a2410af8639cb3dfb084c20759510145cdf63
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Thu Aug 14 18:44:46 2014 +0900

    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 7704950..b36582e 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;

-- 


Reply via email to