remove unused code.
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 16 Jan 2011 06:22:45 +0000 (06:22 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 16 Jan 2011 06:22:45 +0000 (06:22 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@56177 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/engines/common/evas_convert_main.c

index d52d1cd..da19f9c 100644 (file)
@@ -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;
 }