PATCH, libjava: eliminate warning

Andrew Haley aph@redhat.com
Thu Nov 26 09:54:00 GMT 2009


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.



More information about the Java mailing list