bug-gnu-electric
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error in graphunixx11.c


From: Alexandre Oliva
Subject: Error in graphunixx11.c
Date: 15 Jan 2001 00:15:45 -0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake)

Variable `i' is without a declaration if ANYDEPTH is not defined.
Here's a patch that fixes this.

--- electric-6.02/src/graph/graphunixx11.c~     Tue Dec  5 22:47:10 2000
+++ electric-6.02/src/graph/graphunixx11.c      Mon Jan 15 00:13:19 2001
@@ -1965,8 +1965,9 @@
 
 void termgraphics(void)
 {
+       REGISTER INTBIG i;
 #ifdef ANYDEPTH
-       REGISTER INTBIG i, j;
+       REGISTER INTBIG j;
 #endif
 
        /* deallocate offscreen buffer for displays */
-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

reply via email to

[Prev in Thread] Current Thread [Next in Thread]