evas: this value is never read after that point, simplify logic.

This has been spotted by clang static analyzer.
This commit is contained in:
Cedric Bail 2013-11-28 17:04:32 +09:00
parent a969459b0b
commit d2c5a37f37
1 changed files with 1 additions and 1 deletions

View File

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