summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/parser.c2
2 files changed, 6 insertions, 1 deletions
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 <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
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,