forked from enlightenment/efl
Evas convert: Remove dead code
Woah coverity... Fixes CID 1039448
This commit is contained in:
parent
8d9c6c0a00
commit
56e6141013
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue