Commit 815a862a by Richard Stallman

(process_init_constructor): Test warn_missing_braces.

From-SVN: r3470
parent cf6d9b9c
...@@ -4952,7 +4952,7 @@ process_init_constructor (type, init, elts, constant_value, constant_element, ...@@ -4952,7 +4952,7 @@ process_init_constructor (type, init, elts, constant_value, constant_element,
if (elts) if (elts)
{ {
if (extra_warnings) if (warn_missing_braces)
warning ("aggregate has a partly bracketed initializer"); warning ("aggregate has a partly bracketed initializer");
tail = *elts; tail = *elts;
} }
......
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