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) int main(int argc, char **argv)
{ {
const char **cargv = (const char **)argv; static const char **cargv;
const char **command_line; static const char **command_line;
cargv = (const char **)argv;
command_line = parse_command_line_flags(cargv + 1); command_line = parse_command_line_flags(cargv + 1);
if (helpflag) { if (helpflag) {
generic_usage(stdout, 0); generic_usage(stdout, 0);