This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: gcj warning avoidance
- To: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Subject: Patch: gcj warning avoidance
- From: Tom Tromey <tromey at redhat dot com>
- Date: 20 Mar 2001 16:04:34 -0700
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>
- Reply-To: tromey at redhat dot com
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;