diff options
author | obrien <obrien@FreeBSD.org> | 1999-12-18 04:47:43 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-12-18 04:47:43 +0000 |
commit | e723c230ec64068d9d23afeafaf122d65d993b3e (patch) | |
tree | fba2c248120ad9625fccafca7717218515540415 /lib | |
parent | 74c1e8397d678bd80f22b2c6f899c9d94e3398cc (diff) | |
download | FreeBSD-src-e723c230ec64068d9d23afeafaf122d65d993b3e.zip FreeBSD-src-e723c230ec64068d9d23afeafaf122d65d993b3e.tar.gz |
Initialize a var to quiet -Wall.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/getobjformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |