evas cache - fix logically dead code

fixes CID 1039929
This commit is contained in:
Carsten Haitzler 2014-08-14 18:45:59 +09:00
parent cb9a2410af
commit bd3c2c245d
1 changed files with 1 additions and 1 deletions

View File

@ -805,7 +805,7 @@ evas_cache_image_request(Evas_Cache_Image *cache, const char *file,
struct stat st;
Image_Timestamp tstamp;
if ((!file) || ((!file) && (!key)))
if (!file)
{
*error = EVAS_LOAD_ERROR_GENERIC;
return NULL;