summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_convert_main.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-10-27 23:09:18 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-10-28 10:54:51 +0900
commit56e614101330203460214436e4be9e00a7474ef3 (patch)
treea35a9c348ed17455b8b65187103548fdeae33bf4 /src/lib/evas/common/evas_convert_main.c
parent8d9c6c0a00a25dae580f3ee0cfaa84abcb911611 (diff)
Evas convert: Remove dead code
Woah coverity... Fixes CID 1039448
Diffstat (limited to '')
-rw-r--r--src/lib/evas/common/evas_convert_main.c34
1 files changed, 1 insertions, 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
344 else 344 else
345 return evas_common_convert_rgba_to_16bpp_rgb_454645_dith_rot_90; 345 return evas_common_convert_rgba_to_16bpp_rgb_454645_dith_rot_90;
346 } 346 }
347 } 347 }
348 if ((rmask == 0x0000f800) && (gmask == 0x000007e0) && (bmask == 0x0000001f))
349 {
350 if (rotation == 0)
351 {
352 if ((!(w & 0x1)) && (!((intptr_t)dest & 0x3)))
353 return evas_common_convert_rgba2_to_16bpp_rgb_454645_dith;
354 else
355 return evas_common_convert_rgba_to_16bpp_rgb_454645_dith;
356
357 }
358 if (rotation == 180)
359 {
360 if ((!(w & 0x1)) && (!((intptr_t)dest & 0x3)))
361 return evas_common_convert_rgba2_to_16bpp_rgb_454645_dith_rot_180;
362 else
363 return evas_common_convert_rgba_to_16bpp_rgb_454645_dith_rot_180;
364 }
365 if (rotation == 270)
366 {
367 if ((!(w & 0x1)) && (!((intptr_t)dest & 0x3)))
368 return evas_common_convert_rgba2_to_16bpp_rgb_454645_dith_rot_270;
369 else
370 return evas_common_convert_rgba_to_16bpp_rgb_454645_dith_rot_270;
371 }
372 if (rotation == 90)
373 {
374 if ((!(w & 0x1)) && (!((intptr_t)dest & 0x3)))
375 return evas_common_convert_rgba2_to_16bpp_rgb_454645_dith_rot_90;
376 else
377 return evas_common_convert_rgba_to_16bpp_rgb_454645_dith_rot_90;
378 }
379 }
380 } 348 }
381 if (depth == 32) 349 if (depth == 32)
382 { 350 {