This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin 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: Nonsensical code in UserSettings.cc


On Sun, 2003-03-16 at 12:53, Max Bowsher wrote:
> UserSettings &
> UserSettings::Instance()
> {
>   return Instance_;
>   if (Instance_.inited != 42)
>       Instance_.init ();
>   return Instance_;
> }
> 
> I'm assuming the 1st return line should be deleted?

DOH!. Yes please.

Rob
-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part


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