jpeg pushed a commit to branch master.

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

commit 56e614101330203460214436e4be9e00a7474ef3
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Mon Oct 27 23:09:18 2014 +0900

    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 0961bce..c9b4363 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)
          {

-- 


Reply via email to