fix: initialize global_option to 0
This commit is contained in:
parent
8203b3daba
commit
a8230d70d3
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue
Block a user