summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 10:15:19 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-29 10:37:51 +0900
commit157caee2c04834a62dfe496da51cab3df7330d27 (patch)
tree0de26c3ca0a94a7695446921c66f91b3c5839404
parentd6785cfeb680be756875c73d038004d0f4ab65f1 (diff)
evas psd loader - remove unneeded extra check in if
one if condition is always true by virtual of previous if statements and drop-through so can remove. not actually any bug but analysers don't like it found by PVS studio
-rw-r--r--src/modules/evas/image_loaders/psd/evas_image_load_psd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/evas/image_loaders/psd/evas_image_load_psd.c b/src/modules/evas/image_loaders/psd/evas_image_load_psd.c
index f39fd28894..3c0cf5b5e4 100644
--- a/src/modules/evas/image_loaders/psd/evas_image_load_psd.c
+++ b/src/modules/evas/image_loaders/psd/evas_image_load_psd.c
@@ -218,7 +218,7 @@ read_compressed_channel(const unsigned char *map, size_t length, size_t *positio
218 218
219 i += headbyte + 1; 219 i += headbyte + 1;
220 } 220 }
221 else if (headbyte >= -127 && headbyte <= -1) 221 else if (headbyte >= -127)
222 { 222 {
223 int run; 223 int run;
224 224