summaryrefslogtreecommitdiffhomepage
path: root/coreutils/test.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-06-25 10:35:11 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-06-25 10:35:11 +0000
commit88308fec804a0e1df644c3ef99d339a2e653c0f3 (patch)
tree7bccb0e4091c6b431da8714f0df6974c29e097b1 /coreutils/test.c
parent56258b688cc4fb2a5cfacb4e7a17fe51e158c101 (diff)
test: suppress gcc warning
telnetd: do not use suferfluous static variable.
Diffstat (limited to 'coreutils/test.c')
-rw-r--r--coreutils/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/test.c b/coreutils/test.c
index 5ca46725b..36fb38a64 100644
--- a/coreutils/test.c
+++ b/coreutils/test.c
@@ -386,7 +386,7 @@ static int binop(void)
static int filstat(char *nm, enum token mode)
{
struct stat s;
- int i;
+ int i = i; /* gcc 3.x thinks it can be used uninitialized */
if (mode == FILSYM) {
#ifdef S_IFLNK