[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] CVS won't build
- From: Chris <chris.kcat@xxxxxxxxxx>
- Date: Mon, 7 Nov 2005 18:48:16 -0800
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:references:in-reply-to:mime-version:content-type:message-id; b=ItiogPKkTHQTQH3yLfgXBTsL/dq8YOTxlqI7w7YD+kXcPKb7sW3/TFXqGWxeWKD6MHpituTitqz1dXjsyDwJK4vBijfWKhaQQpBneNCKtvX0gkpSQAgiWmggTFTtKGoQ2/4EDFY9UXvOcF8irWiKl0P9j4BKabvL5WE8g/I+e/A=
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);