getopt.c fixes for unitialized parameters on FreeBSD
This commit is contained in:
parent
ad58c0f65d
commit
94703cdfa9
1 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef HAVE_STRING_H
|
#ifdef HAVE_STRING_H
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -445,7 +444,8 @@ _getopt_initialize (argc, argv, optstring)
|
||||||
else
|
else
|
||||||
nonoption_flags_len = 0;
|
nonoption_flags_len = 0;
|
||||||
#endif
|
#endif
|
||||||
|
(void)argc;
|
||||||
|
(void)argv;
|
||||||
return optstring;
|
return optstring;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue