Commit 3f6d4c52 by Alexandre Oliva Committed by Alexandre Oliva

* c-parser.c (c_parser_for_statement): Initialize incr.

From-SVN: r165411
parent 187e3629
2010-10-13 Alexandre Oliva <aoliva@redhat.com>
* c-parser.c (c_parser_for_statement): Initialize incr.
2010-10-12 Xinliang David Li <davidxl@google.com>
PR tree-optimization/45972
......@@ -4538,6 +4538,9 @@ c_parser_for_statement (c_parser *parser)
/* Parse the initialization declaration or expression. */
cond = error_mark_node;
object_expression = error_mark_node;
/* Initializing incr should not be necessary, but it avoids
bogus warnings of uninitialized uses. */
incr = error_mark_node;
if (c_parser_next_token_is (parser, CPP_SEMICOLON))
{
......
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