From e723c230ec64068d9d23afeafaf122d65d993b3e Mon Sep 17 00:00:00 2001 From: obrien Date: Sat, 18 Dec 1999 04:47:43 +0000 Subject: Initialize a var to quiet -Wall. --- lib/libc/gen/getobjformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc') diff --git a/lib/libc/gen/getobjformat.c b/lib/libc/gen/getobjformat.c index fa155a0..98e6ab0 100644 --- a/lib/libc/gen/getobjformat.c +++ b/lib/libc/gen/getobjformat.c @@ -99,7 +99,7 @@ getobjformat(char *buf, size_t bufsize, int *argcp, char **argv) int found; int len; - found = 0; + found = len = 0; while (fgets(line, sizeof line, fp) != NULL) { if (strncmp(line, "OBJFORMAT=", 10) == 0) { char *p = &line[10]; -- cgit v1.1