This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: PATCH, libjava: eliminate warning
- From: Andrew Haley <aph at redhat dot com>
- To: Ben Elliston <bje at au1 dot ibm dot com>
- Cc: java <java at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 26 Nov 2009 09:54:39 +0000
- Subject: Re: PATCH, libjava: eliminate warning
- References: <1259213142.25791.1.camel@bapbop>
Ben Elliston wrote:
> This warning was introduced by Andrew's Nov 17 patch.
> Okay for mainline?
>
> Ben
>
> 2009-11-26 Ben Elliston <bje@au.ibm.com>
>
> * posix-threads.cc (ParkHelper::unpark): Do not initialise result,
> but assign it instead. Eliminates an unused variable warning when
> the result == 0 assertion is disabled.
Gag. Unused variable warning considered harmful.
OK. :-)
Andrew.