From 79aabd53ec66b4c8cb05479cf6564035a4f7f8fd Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 15 Jan 2001 13:39:14 +0000 Subject: init var to 0 to avoid warning --- libc/unistd/gnu_getopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) -- cgit v1.2.3