public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/38193] New: HashMap.java: unused local variable
@ 2008-11-20 10:12 dcb314 at hotmail dot com
0 siblings, 0 replies; only message in thread
From: dcb314 at hotmail dot com @ 2008-11-20 10:12 UTC (permalink / raw)
To: java-prs
I just had a look at some of the source code of the Java package in
the GNU gcc version 4.4.0 snapshot 20081114
/home/dcb/gcc/20081114/javaExperiment/gcc-4.4-20081114/libjava/classpath/java/util/HashMap.java:749
Avoid unused local variables such as 'dest'.
The source code is
HashEntry<K, V> dest = buckets[idx];
Suggest remove unused local variable dest, since it is in a loop.
--
Summary: HashMap.java: unused local variable
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dcb314 at hotmail dot com
GCC host triplet: suse-linux-x86_64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38193
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-20 10:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-20 10:12 [Bug java/38193] New: HashMap.java: unused local variable dcb314 at hotmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).