diff options
author | Cedric Bail <cedric.bail@samsung.com> | 2013-11-28 17:04:32 +0900 |
---|---|---|
committer | Cedric Bail <cedric.bail@samsung.com> | 2013-11-28 17:04:32 +0900 |
commit | d2c5a37f3778b2c984eaf92b2b8489078143224a (patch) | |
tree | 686ab9b4e5cda207aeb2142f7da9913aa02604a4 | |
parent | a969459b0b2e24e86eb020b805d0459cc497ddbb (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.c | 2 |
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; |