Patch: gcj warning avoidance
Tom Tromey
tromey@redhat.com
Tue Mar 20 14:55:00 GMT 2001
I'm checking this in as obviously correct. It is going on the trunk
and the branch. It fixes a warning I noticed while bootstrapping on
PPC.
2001-03-20 Tom Tromey <tromey@redhat.com>
* jcf-parse.c (read_class): Initialize `class'.
Tom
Index: jcf-parse.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/java/jcf-parse.c,v
retrieving revision 1.76.2.4
diff -u -r1.76.2.4 jcf-parse.c
--- jcf-parse.c 2001/03/20 22:51:58 1.76.2.4
+++ jcf-parse.c 2001/03/20 22:54:22
@@ -549,7 +549,7 @@
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;
More information about the Java-patches
mailing list