Re: PATCH, libjava: eliminate warning

Andrew Haley <[email protected]>
Newsgroups gmane.comp.gcc.java.devel,gmane.comp.gcc.patches
Message-ID <[email protected]>
Ben Elliston wrote:
> This warning was introduced by Andrew's Nov 17 patch.
> Okay for mainline?
> 
> Ben
> 
> 2009-11-26  Ben Elliston  <[email protected]>
> 
> 	* 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.