From: Martin Jambor Date: Mon, 18 Jul 2011 21:51:24 +0000 (+0200) Subject: parser.c (cp_parser_parameter_declaration_list): Initialize parenthesized_p. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca176e1c3639905d47f812f9c5a9a8ec57d8e6d6;p=gcc.git parser.c (cp_parser_parameter_declaration_list): Initialize parenthesized_p. 2011-07-18 Martin Jambor gcc/cp/ * parser.c (cp_parser_parameter_declaration_list): Initialize parenthesized_p. From-SVN: r176423 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index d27ba873d6e..58e1ba7d948 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2011-07-18 Martin Jambor + + * parser.c (cp_parser_parameter_declaration_list): Initialize + parenthesized_p. + 2011-07-16 Jason Merrill * pt.c (tinst_level_tick, last_template_error_tick): Replace with diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 5fcedcd2e56..b928ef73497 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -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,