getopt.c fixes for unitialized parameters on FreeBSD

This commit is contained in:
thorkill 2015-07-02 21:48:15 +02:00
parent ad58c0f65d
commit 94703cdfa9

View file

@ -43,7 +43,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#endif
#include <stdio.h>
#ifdef HAVE_STRING_H
#include <string.h>
#endif
@ -445,7 +444,8 @@ _getopt_initialize (argc, argv, optstring)
else
nonoption_flags_len = 0;
#endif
(void)argc;
(void)argv;
return optstring;
}