cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d2c5a37f3778b2c984eaf92b2b8489078143224a

commit d2c5a37f3778b2c984eaf92b2b8489078143224a
Author: Cedric Bail <cedric.b...@samsung.com>
Date:   Thu Nov 28 17:04:32 2013 +0900

    evas: this value is never read after that point, simplify logic.
    
    This has been spotted by clang static analyzer.
---
 src/modules/evas/loaders/ico/evas_image_load_ico.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 a90d3e2..cd92e5b 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;
    

-- 


Reply via email to