Try to avoid longjmp clobber warnings
This commit is contained in:
parent
43262ccb0e
commit
4a1a76f45f
5
c/main.c
5
c/main.c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue