summaryrefslogtreecommitdiff
path: root/gcc/gengtype-state.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2011-05-31 16:24:08 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2011-05-31 16:24:08 +0000
commit70efc82d54f11140c52c8c22ff542706b6e0e45b (patch)
treea71934085d596b28cbf080ba93cfa381d67b3755 /gcc/gengtype-state.c
parent6ba5d85618299fb84acfa86c7d18af5bcdd0375b (diff)
downloadgcc-70efc82d54f11140c52c8c22ff542706b6e0e45b.tar.gz
gengtype-state.c (read_state_params_structs): Initialize previous.
* gengtype-state.c (read_state_params_structs): Initialize previous. From-SVN: r174491
Diffstat (limited to 'gcc/gengtype-state.c')
-rw-r--r--gcc/gengtype-state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gengtype-state.c b/gcc/gengtype-state.c
index e9aa5d2ed85..a885d28359e 100644
--- a/gcc/gengtype-state.c
+++ b/gcc/gengtype-state.c
@@ -2137,7 +2137,7 @@ read_state_param_structs (type_p *param_structs)
int nbparamstructs = 0;
int countparamstructs = 0;
type_p head = NULL;
- type_p previous;
+ type_p previous = NULL;
type_p tmp;
struct state_token_st *t0 = peek_state_token (0);
struct state_token_st *t1 = peek_state_token (1);