This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH, libjava: eliminate warning


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]