From 56e614101330203460214436e4be9e00a7474ef3 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Mon, 27 Oct 2014 23:09:18 +0900 Subject: [PATCH] Evas convert: Remove dead code Woah coverity... Fixes CID 1039448 --- src/lib/evas/common/evas_convert_main.c | 34 +------------------------ 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/src/lib/evas/common/evas_convert_main.c b/src/lib/evas/common/evas_convert_main.c index 0961bceedc..c9b4363fe8 100644 --- a/src/lib/evas/common/evas_convert_main.c +++ b/src/lib/evas/common/evas_convert_main.c @@ -344,39 +344,7 @@ evas_common_convert_func_get(DATA8 *dest, int w, int h EINA_UNUSED, int depth, D else return evas_common_convert_rgba_to_16bpp_rgb_454645_dith_rot_90; } - } - if ((rmask == 0x0000f800) && (gmask == 0x000007e0) && (bmask == 0x0000001f)) - { - if (rotation == 0) - { - if ((!(w & 0x1)) && (!((intptr_t)dest & 0x3))) - return evas_common_convert_rgba2_to_16bpp_rgb_454645_dith; - else - return evas_common_convert_rgba_to_16bpp_rgb_454645_dith; - - } - if (rotation == 180) - { - if ((!(w & 0x1)) && (!((intptr_t)dest & 0x3))) - return evas_common_convert_rgba2_to_16bpp_rgb_454645_dith_rot_180; - else - return evas_common_convert_rgba_to_16bpp_rgb_454645_dith_rot_180; - } - if (rotation == 270) - { - if ((!(w & 0x1)) && (!((intptr_t)dest & 0x3))) - return evas_common_convert_rgba2_to_16bpp_rgb_454645_dith_rot_270; - else - return evas_common_convert_rgba_to_16bpp_rgb_454645_dith_rot_270; - } - if (rotation == 90) - { - if ((!(w & 0x1)) && (!((intptr_t)dest & 0x3))) - return evas_common_convert_rgba2_to_16bpp_rgb_454645_dith_rot_90; - else - return evas_common_convert_rgba_to_16bpp_rgb_454645_dith_rot_90; - } - } + } } if (depth == 32) {