From ca176e1c3639905d47f812f9c5a9a8ec57d8e6d6 Mon Sep 17 00:00:00 2001 From: Martin Jambor Date: Mon, 18 Jul 2011 23:51:24 +0200 Subject: [PATCH] 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 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/parser.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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, -- 2.30.2