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]

Nonsensical code in UserSettings.cc


UserSettings &
UserSettings::Instance()
{
  return Instance_;
  if (Instance_.inited != 42)
      Instance_.init ();
  return Instance_;
}

I'm assuming the 1st return line should be deleted?

Max.


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