fix: initialize global_option to 0

This commit is contained in:
Renge 2022-02-12 16:53:07 -05:00
parent 8203b3daba
commit a8230d70d3

View File

@ -22,6 +22,7 @@
int validargs(int argc, char **argv)
{
global_options = 0;
char **ptr = argv;
ptr++;
for (int i = 1; i < argc; i++, ptr++)