From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4614 invoked by alias); 20 Nov 2008 09:38:52 -0000 Received: (qmail 4596 invoked by uid 48); 20 Nov 2008 09:38:52 -0000 Date: Thu, 20 Nov 2008 09:38:00 -0000 Subject: [Bug java/38190] New: ConcurrentHashMap.java: 2 * unused local variables X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "dcb314 at hotmail dot com" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2008-q4/txt/msg00069.txt.bz2 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 gcc-4.4-20081114/libjava/classpath/external/jsr166/java/util/concurrent/ConcurrentHashMap.java:807 Avoid unused local variables such as 'c'. gcc-4.4-20081114/libjava/classpath/external/jsr166/java/util/concurrent/ConcurrentHashMap.java:815 Avoid unused local variables such as 'c'. I have checked the source code and I agree. Suggest remove these two unused local variables, especially since they are in a for loop. -- Summary: ConcurrentHashMap.java: 2 * unused local variables 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=38190