This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: gcj warning avoidance


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]