(translate_options): Don't assume option_map[j].arg_info != 0.
From-SVN: r4644
This commit is contained in:
parent
e287a52ca0
commit
e1027c772e
@ -752,7 +752,8 @@ translate_options (argcp, argvp)
|
||||
else
|
||||
continue;
|
||||
}
|
||||
else if (index (option_map[j].arg_info, '*') != 0)
|
||||
else if (option_map[j].arg_info != 0
|
||||
&& index (option_map[j].arg_info, '*') != 0)
|
||||
error ("Incomplete `%s' option", option_map[j].name);
|
||||
|
||||
/* Handle arguments. */
|
||||
|
Loading…
Reference in New Issue
Block a user