* c-parser.c (c_parser_for_statement): Initialize incr.
From-SVN: r165411
This commit is contained in:
parent
187e3629ab
commit
3f6d4c520c
@ -1,3 +1,7 @@
|
||||
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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user