aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/parser.c
diff options
context:
space:
mode:
authorManfred Hollstein <mh@suse.com>2005-07-22 07:31:32 +0000
committerManfred Hollstein <manfred@gcc.gnu.org>2005-07-22 07:31:32 +0000
commit32cafd7366917d37360844b42b73ffc6af881bb0 (patch)
treecb073ef49c05b064e1e54eeefa318120ca913ed7 /gcc/cp/parser.c
parentee184c4def9632d74193f291f94244c6dac220d5 (diff)
downloadgcc-32cafd7366917d37360844b42b73ffc6af881bb0.zip
gcc-32cafd7366917d37360844b42b73ffc6af881bb0.tar.gz
gcc-32cafd7366917d37360844b42b73ffc6af881bb0.tar.bz2
tree-ssa-structalias.c (merge_graph_nodes): Fix uninitialised warnings.
gcc/ChangeLog: * tree-ssa-structalias.c (merge_graph_nodes): Fix uninitialised warnings. (int_add_graph_edge): Likewise. (collapse_nodes): Likewise. (process_unification_queue): Likewise. gcc/cp/ChangeLog: * parser.c (cp_parser_declaration): Fix unitialised warnings. gcc/fortran/ChangeLog: * match.c (gfc_match_symbol): Fix uninitialised warnings. * matchexp.c (gfc_match_expr): Likewise. gcc/java/ChangeLog: * verify-impl.c (check_class_constant): Fix uninitialised warnings. (check_constant): Likewise. (check_wide_constant): Likewise. From-SVN: r102273
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r--gcc/cp/parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 324d5f1..fa46b25 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -6919,6 +6919,8 @@ cp_parser_declaration (cp_parser* parser)
if (token1.type != CPP_EOF)
token2 = *cp_lexer_peek_nth_token (parser->lexer, 2);
+ else
+ token2.type = token2.keyword = RID_MAX;
/* Get the high-water mark for the DECLARATOR_OBSTACK. */
p = obstack_alloc (&declarator_obstack, 0);