Nonsensical code in UserSettings.cc

Robert Collins rbcollins@cygwin.com
Sun Mar 16 01:57:00 GMT 2003


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>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20030316/6a72ad0d/attachment.sig>


More information about the Cygwin-apps mailing list