remove hack about unused parameter and use __UNUSED__ instead
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 7 Mar 2009 06:56:42 +0000 (06:56 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 7 Mar 2009 06:56:42 +0000 (06:56 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@39402 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/engines/software_x11/evas_engine.c

index 44d22b9..8ec2ca9 100644 (file)
@@ -303,7 +303,7 @@ _best_depth_get(int backend, void *connection, int screen)
 
 /* engine api this module provides */
 static void *
-eng_info(Evas *e)
+eng_info(Evas *e __UNUSED__)
 {
    Evas_Engine_Info_Software_X11 *info;
 
@@ -317,7 +317,6 @@ eng_info(Evas *e)
    info->func.best_colormap_get = _best_colormap_get;
    info->func.best_depth_get = _best_depth_get;
    return info;
-   e = NULL;
 }
 
 static void