Kaynağa Gözat

init var to 0 to avoid warning

Eric Andersen 25 yıl önce
ebeveyn
işleme
79aabd53ec
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      libc/unistd/gnu_getopt.c

+ 1 - 1
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++)