Thanks for your suggestion. I think I am going to use the temp variable to suppress the warning. Chenta
On Thu, Jul 16, 2009 at 10:25 PM, Steve Huston <[email protected]> wrote: > > chenta lee wrote: > > > By the way, I can just create a temp variable to take the > > return value or I > > > can use a if statement to wrap them. Which way do you prefer? > > > > I myself have no preference; anyone else have a strong > > opinion on what is best? > > Not terribly strong, but I prefer the temp variable named something > like "unused" or "shut_up_compiler". It seems clearer what the intent > is. > > -Steve > > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > >
