Commit e1027c77 by Richard Stallman

(translate_options): Don't assume option_map[j].arg_info != 0.

From-SVN: r4644
parent e287a52c
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment