summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-25 10:35:11 +0000
committerDenis Vlasenko2007-06-25 10:35:11 +0000
commit88308fec804a0e1df644c3ef99d339a2e653c0f3 (patch)
tree7bccb0e4091c6b431da8714f0df6974c29e097b1 /coreutils
parent56258b688cc4fb2a5cfacb4e7a17fe51e158c101 (diff)
downloadbusybox-88308fec804a0e1df644c3ef99d339a2e653c0f3.zip
busybox-88308fec804a0e1df644c3ef99d339a2e653c0f3.tar.gz
test: suppress gcc warning
telnetd: do not use suferfluous static variable.
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/test.c b/coreutils/test.c
index 5ca4672..36fb38a 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