diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-01-15 13:39:14 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-01-15 13:39:14 +0000 |
commit | 79aabd53ec66b4c8cb05479cf6564035a4f7f8fd (patch) | |
tree | ba981ac729599e0ab7795f9f041e47b2b533abe4 /libc/unistd | |
parent | 346abd962daabf7fd33b70382d2e44bd7942b7de (diff) |
init var to 0 to avoid warning
Diffstat (limited to 'libc/unistd')
-rw-r--r-- | libc/unistd/gnu_getopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/unistd/gnu_getopt.c b/libc/unistd/gnu_getopt.c index c5fa33913..05f97a09c 100644 --- a/libc/unistd/gnu_getopt.c +++ b/libc/unistd/gnu_getopt.c @@ -413,7 +413,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only) const struct option *pfound = NULL; int exact = 0; int ambig = 0; - int indfound; + int indfound = 0; int option_index; for (nameend = nextchar; *nameend && *nameend != '='; nameend++) |