summaryrefslogtreecommitdiff
path: root/src/lib/evas/cache2
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-07-08 07:39:44 +0100
committerChris Michael <cp.michael@samsung.com>2013-07-08 07:39:44 +0100
commit10897713ea50bf4b990de7a73ca9fe2e6846bdd7 (patch)
tree6ed219379bfcf6f700e97c57772d4c65722c2950 /src/lib/evas/cache2
parent9d60d6ccff3dc183393e793c6ca4926dd1aaae5b (diff)
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>
Diffstat (limited to 'src/lib/evas/cache2')
-rw-r--r--src/lib/evas/cache2/evas_cache2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/evas/cache2/evas_cache2.c b/src/lib/evas/cache2/evas_cache2.c
index 6d7bdfa7b2..fef11d24e7 100644
--- a/src/lib/evas/cache2/evas_cache2.c
+++ b/src/lib/evas/cache2/evas_cache2.c
@@ -1102,8 +1102,6 @@ evas_cache2_image_dirty(Image_Entry *im, unsigned int x, unsigned int y, unsigne
1102 return im2; 1102 return im2;
1103 1103
1104on_error: 1104on_error:
1105 if (im2)
1106 _evas_cache_image_entry_delete(cache, im2);
1107 evas_cache2_image_close(im); 1105 evas_cache2_image_close(im);
1108 return NULL; 1106 return NULL;
1109} 1107}