From 107e0a85c6cb628411c0a39f25a071f7c9ad6183 Mon Sep 17 00:00:00 2001 From: raster Date: Sun, 16 Jan 2011 06:22:45 +0000 Subject: [PATCH] remove unused code. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@56177 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/engines/common/evas_convert_main.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) 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; } -- 2.7.4