Try to avoid longjmp clobber warnings

This commit is contained in:
Lassi Kortela 2020-04-07 12:45:21 +03:00
parent 43262ccb0e
commit 4a1a76f45f
1 changed files with 3 additions and 2 deletions

View File

@ -220,9 +220,10 @@ static const char **parse_command_line_flags(const char **argv)
int main(int argc, char **argv)
{
const char **cargv = (const char **)argv;
const char **command_line;
static const char **cargv;
static const char **command_line;
cargv = (const char **)argv;
command_line = parse_command_line_flags(cargv + 1);
if (helpflag) {
generic_usage(stdout, 0);