evas cache - fix return val to fix warning

fix return val if cache is null (something bad happening)
This commit is contained in:
Carsten Haitzler 2018-03-05 23:29:37 +09:00
parent 91086fca39
commit 6d9d978faf
1 changed files with 1 additions and 1 deletions

View File

@ -507,7 +507,7 @@ _evas_cache_image_entry_preload_add(Image_Entry *ie, const Eo *target,
Evas_Cache_Target *tg;
Image_Entry_Task *task;
if (!ie->cache) return;
if (!ie->cache) return 0;
evas_cache_image_ref(ie);
if (ie->flags.preload_done)
{