diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/cp/parser.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a292155..9e5788a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2006-04-12 Roger Sayle <roger@eyesopen.com> + + * parser.c (cp_parser_init_declarator): Initialise + is_parenthesized_init to false to avoid compiler warning. + 2006-04-11 Mark Mitchell <mark@codesourcery.com> * cp-tree.h (build_operator_new_call): Adjust prototype. diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 4c06784..e96165b 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -10892,7 +10892,7 @@ cp_parser_init_declarator (cp_parser* parser, initialized with "= ..", CPP_OPEN_PAREN if initialized with "(...)". */ enum cpp_ttype initialization_kind; - bool is_parenthesized_init; + bool is_parenthesized_init = false; bool is_non_constant_init; int ctor_dtor_or_conv_p; bool friend_p; |
