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:
Chris Michael 2013-07-08 07:39:44 +01:00
parent 9d60d6ccff
commit 10897713ea
1 changed files with 0 additions and 2 deletions

View File

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