parser.c (cp_parser_parameter_declaration_list): Initialize parenthesized_p.
authorMartin Jambor <mjambor@suse.cz>
Mon, 18 Jul 2011 21:51:24 +0000 (23:51 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Mon, 18 Jul 2011 21:51:24 +0000 (23:51 +0200)
2011-07-18  Martin Jambor  <mjambor@suse.cz>

gcc/cp/
* parser.c (cp_parser_parameter_declaration_list): Initialize
parenthesized_p.

From-SVN: r176423

gcc/cp/ChangeLog
gcc/cp/parser.c

index d27ba873d6eeb51b1a5165176d5b6decc9e172b7..58e1ba7d948560b7acddcccbb89cea50d9f7da4b 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-18  Martin Jambor  <mjambor@suse.cz>
+
+       * parser.c (cp_parser_parameter_declaration_list): Initialize
+       parenthesized_p.
+
 2011-07-16  Jason Merrill  <jason@redhat.com>
 
        * pt.c (tinst_level_tick, last_template_error_tick): Replace with
index 5fcedcd2e56cb7807a51f8bb89f875e8af055bec..b928ef734973c5866a37ad644289a7ef106005b9 100644 (file)
@@ -15921,7 +15921,7 @@ cp_parser_parameter_declaration_list (cp_parser* parser, bool *is_error)
     {
       cp_parameter_declarator *parameter;
       tree decl = error_mark_node;
-      bool parenthesized_p;
+      bool parenthesized_p = false;
       /* Parse the parameter.  */
       parameter
        = cp_parser_parameter_declaration (parser,