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.