summaryrefslogtreecommitdiff
path: root/src/lib/evas/cache2/evas_cache2.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/evas/cache2/evas_cache2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/cache2/evas_cache2.c b/src/lib/evas/cache2/evas_cache2.c
index e1a9d01120..35cceb6e65 100644
--- a/src/lib/evas/cache2/evas_cache2.c
+++ b/src/lib/evas/cache2/evas_cache2.c
@@ -657,7 +657,7 @@ evas_cache2_image_open(Evas_Cache2 *cache, const char *path, const char *key,
657 Image_Timestamp tstamp; 657 Image_Timestamp tstamp;
658 Evas_Image_Load_Opts prevent; 658 Evas_Image_Load_Opts prevent;
659 659
660 if ((!path) || ((!path) && (!key))) 660 if (!path)
661 { 661 {
662 *error = EVAS_LOAD_ERROR_GENERIC; 662 *error = EVAS_LOAD_ERROR_GENERIC;
663 return NULL; 663 return NULL;