evas cache - fix logically dead code

fixes CID 1039930
This commit is contained in:
Carsten Haitzler 2014-08-14 18:44:46 +09:00
parent 18e2302184
commit cb9a2410af
1 changed files with 1 additions and 1 deletions

View File

@ -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;