bug-global
[Top][All Lists]
Advanced

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

[PATCH] remove unused variable


From: Hideki IWAMOTO
Subject: [PATCH] remove unused variable
Date: Mon, 10 Nov 2003 22:27:30 +0900

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../libutil -I../libdb -I../libglibc   
-DBINDIR='"/home/iwamoto/global/bin"' -Wall -O2 -g -c `test -f 
'strbuf.c' || echo './'`strbuf.c
strbuf.c: In function `strbuf_putn':
strbuf.c:209: warning: unused variable `j'


Index: libutil/strbuf.c
===================================================================
RCS file: /cvsroot/global/global/libutil/strbuf.c,v
retrieving revision 1.8
diff -u -r1.8 strbuf.c
--- libutil/strbuf.c    8 Nov 2003 08:12:15 -0000       1.8
+++ libutil/strbuf.c    10 Nov 2003 13:21:09 -0000
@@ -206,7 +206,6 @@
        if (i == 0) {
                strbuf_putc(sb, '0');
        } else {
-               int j = 0;
                while (--i >= 0)
                        strbuf_putc(sb, num[i]);
        }

----
Hideki IWAMOTO  address@hidden





reply via email to

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