summaryrefslogtreecommitdiff
path: root/gcc/gengtype-state.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2010-11-25 22:50:53 +0100
committerUros Bizjak <uros@gcc.gnu.org>2010-11-25 22:50:53 +0100
commitbe82759165691e01352cab8d9b9c20a75e69514d (patch)
treeeaf869382226c3b4dbd106f86ff7b8a5bd970fe0 /gcc/gengtype-state.c
parentafe96d415d8a08ec2f428bdea0cfaa88207e4b6e (diff)
gengtype-state.c (read_state_structures): Initialize "previous".
* gengtype-state.c (read_state_structures): Initialize "previous". From-SVN: r167153
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 e6909f2e765..07c880258a6 100644
--- a/gcc/gengtype-state.c
+++ b/gcc/gengtype-state.c
@@ -2085,7 +2085,7 @@ static void
read_state_structures (type_p *structures)
{
type_p head = NULL;
- type_p previous;
+ type_p previous = NULL;
type_p tmp;
int nbstruct = 0, countstruct = 0;
struct state_token_st *t0 = peek_state_token (0);