Commit 69c3716d by Richard Kenner

(check_format_info): Handle missing type in format when terminated by

a new `%'.

From-SVN: r11203
parent f83d27b4
......@@ -1102,7 +1102,7 @@ check_format_info (info, params)
warning (message);
}
format_char = *format_chars;
if (format_char == 0)
if (format_char == 0 || format_char == '%')
{
warning ("conversion lacks type at end of format");
continue;
......
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