diff options
author | Roger Sayle <roger@eyesopen.com> | 2006-04-12 16:26:58 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2006-04-12 16:26:58 +0000 |
commit | 21137095e248e737644793fe328322e55d783dd8 (patch) | |
tree | 4b1a654ff1114798886b5147898d36c16f636ee0 /gcc | |
parent | 7488662d919b5f7fa2d8c1b0da1f5309cdc10d87 (diff) | |
download | gcc-21137095e248e737644793fe328322e55d783dd8.zip gcc-21137095e248e737644793fe328322e55d783dd8.tar.gz gcc-21137095e248e737644793fe328322e55d783dd8.tar.bz2 |
parser.c (cp_parser_init_declarator): Initialise is_parenthesized_init to false to avoid compiler warning.
* parser.c (cp_parser_init_declarator): Initialise
is_parenthesized_init to false to avoid compiler warning.
From-SVN: r112889
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; |