Re: [AD] CVS won't build

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


The source also wouldn't build with --enable-strictwarn, due to some unused 
variables. Patch attached.
Index: src/graphics.c
===================================================================
RCS file: /cvsroot/alleg/allegro/src/graphics.c,v
retrieving revision 1.63
diff -u -r1.63 graphics.c
--- src/graphics.c	5 Nov 2005 13:24:50 -0000	1.63
+++ src/graphics.c	8 Nov 2005 02:44:11 -0000
@@ -624,7 +624,7 @@
    char tmp1[64], tmp2[64];
    AL_CONST char *dv;
    int flags = 0;
-   int c, driver, ret;
+   int c;
    ASSERT(system_driver);
    ASSERT(card != GFX_SAFE);
 
@@ -870,7 +870,6 @@
 {
    char buf[ALLEGRO_ERROR_SIZE], tmp1[64];
    struct GFX_MODE mode;
-   static int allow_config = TRUE;
    int ret, driver;
 
    ASSERT(card == GFX_SAFE);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/