forked from enlightenment/efl
Remove dead code. In the error goto, im2 cannot exist here else we
would not have gotten to this error handler if it did (so no point in checking for it and calling functions using it). NB: Fixes Coverity CID1039926 Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
9d60d6ccff
commit
10897713ea
|
@ -1102,8 +1102,6 @@ evas_cache2_image_dirty(Image_Entry *im, unsigned int x, unsigned int y, unsigne
|
|||
return im2;
|
||||
|
||||
on_error:
|
||||
if (im2)
|
||||
_evas_cache_image_entry_delete(cache, im2);
|
||||
evas_cache2_image_close(im);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue