Remove unused variable in libjava/defineclass.cc
Andreas Jaeger
aj@suse.de
Sun Jul 17 05:40:00 GMT 2005
Bootstrapping GCC I noticed a warning about an undefined variable
which is correct, the_super is defined again a couple of lines
further in the block.
I've committed this patch as obvious after testing on Linux/x86-64.
Andreas
2005-07-17 Andreas Jaeger <aj@suse.de>
* defineclass.cc (handleClassBegin): Remove unused variable.
============================================================
Index: libjava/defineclass.cc
--- libjava/defineclass.cc 24 Jun 2005 22:48:31 -0000 1.47
+++ libjava/defineclass.cc 16 Jul 2005 15:50:22 -0000
@@ -960,7 +960,6 @@ _Jv_ClassReader::handleClassBegin (int a
// needed.
*found_name = def->name;
- jclass the_super = NULL;
if (super_class != 0)
{
// Load the superclass.
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050717/8cd5a833/attachment.sig>
More information about the Java-patches
mailing list