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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[4.0] Patch: FYI: fix PR java/26204


I'm checking this in on the 4.0 branch.

This fixes a warning that caused a build failure in one case.
This change is already in 4.1 and on the trunk.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	PR java/26204:
	* jcf-write.c (generate_bytecode_insns): Removed unused variable.

Index: jcf-write.c
===================================================================
--- jcf-write.c	(revision 110485)
+++ jcf-write.c	(working copy)
@@ -1,5 +1,5 @@
 /* Write out a Java(TM) class file.
-   Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+   Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    Free Software Foundation, Inc.
 
 This file is part of GCC.
@@ -2233,7 +2233,6 @@
 	}
       else
 	{
-	  tree type = TREE_TYPE (exp);
 	  emit_load (arg, state);
 	}
       break;


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