From: raster Date: Sun, 16 Jan 2011 06:22:45 +0000 (+0000) Subject: remove unused code. X-Git-Tag: accepted/2.0/20130306.225542~242^2~1274 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b0bf159ffcbc36276c9cb79262612bc6ddc5064a;p=profile%2Fivi%2Fevas.git remove unused code. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@56177 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/engines/common/evas_convert_main.c b/src/lib/engines/common/evas_convert_main.c index d52d1cd..da19f9c 100644 --- a/src/lib/engines/common/evas_convert_main.c +++ b/src/lib/engines/common/evas_convert_main.c @@ -161,7 +161,7 @@ evas_common_convert_init(void) } EAPI Gfx_Func_Convert -evas_common_convert_func_get(DATA8 *dest, int w, int h, int depth, DATA32 rmask, DATA32 gmask, DATA32 bmask, Convert_Pal_Mode pal_mode, int rotation) +evas_common_convert_func_get(DATA8 *dest, int w, int h __UNUSED__, int depth, DATA32 rmask, DATA32 gmask, DATA32 bmask, Convert_Pal_Mode pal_mode, int rotation) { if ((rmask == 0) && (gmask == 0) && (bmask == 0)) { @@ -208,12 +208,6 @@ evas_common_convert_func_get(DATA8 *dest, int w, int h, int depth, DATA32 rmask, return evas_common_convert_rgba_to_8bpp_pal_gray64; #endif } - if (depth == 1) - { - } - if (depth == 4) - { - } } else { @@ -632,15 +626,7 @@ evas_common_convert_func_get(DATA8 *dest, int w, int h, int depth, DATA32 rmask, return evas_common_convert_rgba_to_8bpp_rgb_111_dith; #endif } - if (depth == 1) - { - } - if (depth == 4) - { - } } /* no optimised converter for this... no generic one either. NULL */ return NULL; - h = 0; - pal_mode = 0; }