From 88308fec804a0e1df644c3ef99d339a2e653c0f3 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 25 Jun 2007 10:35:11 +0000 Subject: test: suppress gcc warning telnetd: do not use suferfluous static variable. --- coreutils/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/test.c') 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 -- cgit v1.2.3