aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/java/ChangeLog4
-rw-r--r--gcc/java/jcf-parse.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 3a7cf6f4..592d782 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-20 Tom Tromey <tromey@redhat.com>
+
+ * jcf-parse.c (read_class): Initialize `class'.
+
2001-03-20 Matt Kraai <kraai@alumni.carnegiemellon.edu>
* jcf_parse.c (jcf_parse): Eliminate unused variable.
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index d47d076..0b3a4b5 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -549,7 +549,7 @@ read_class (name)
tree name;
{
JCF this_jcf, *jcf;
- tree icv, class;
+ tree icv, class = NULL_TREE;
tree save_current_class = current_class;
const char *save_input_filename = input_filename;
JCF *save_current_jcf = current_jcf;