summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-11-28 17:04:32 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-11-28 17:04:32 +0900
commitd2c5a37f3778b2c984eaf92b2b8489078143224a (patch)
tree686ab9b4e5cda207aeb2142f7da9913aa02604a4
parenta969459b0b2e24e86eb020b805d0459cc497ddbb (diff)
evas: this value is never read after that point, simplify logic.
This has been spotted by clang static analyzer.
-rw-r--r--src/modules/evas/loaders/ico/evas_image_load_ico.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/loaders/ico/evas_image_load_ico.c b/src/modules/evas/loaders/ico/evas_image_load_ico.c
index a90d3e23a..cd92e5b9c 100644
--- a/src/modules/evas/loaders/ico/evas_image_load_ico.c
+++ b/src/modules/evas/loaders/ico/evas_image_load_ico.c
@@ -548,7 +548,7 @@ evas_image_load_file_data_ico(void *loader_data,
w = chosen.w;
h = chosen.h;
cols = chosen.cols;
- bpp = chosen.bpp;
+
// changed since we loaded header?
if (((int)prop->w != w) || ((int)prop->h != h)) goto close_file;