test: suppress gcc warning

telnetd: do not use suferfluous static variable.
This commit is contained in:
Denis Vlasenko
2007-06-25 10:35:11 +00:00
parent 56258b688c
commit 88308fec80
2 changed files with 14 additions and 14 deletions

View File

@@ -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