summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cpppch.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index df58352d177..ff7bf20500b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-07 Loren James Rittle <ljrittle@acm.org>
+
+ * cpppch.c (cpp_valid_state): Unconditionally initialize nl.
+
2003-04-17 Kazu Hirata <kazu@cs.umass.edu>
* reload1.c (move2add_last_cc0): New.
diff --git a/gcc/cpppch.c b/gcc/cpppch.c
index 637160cd1a8..388a7532c11 100644
--- a/gcc/cpppch.c
+++ b/gcc/cpppch.c
@@ -455,7 +455,7 @@ cpp_valid_state (r, name, fd)
size_t namebufsz = 256;
unsigned char *namebuf = xmalloc (namebufsz);
unsigned char *undeftab = NULL;
- struct ht_node_list nl;
+ struct ht_node_list nl = { 0, 0, 0 };
unsigned char *first, *last;
unsigned int i;
OpenPOWER on IntegriCloud