pingus-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Intentional code?


From: Neil Hotmail
Subject: Intentional code?
Date: Fri, 11 Oct 2002 16:17:18 +0100

in exit_data.cxx

ExitData::ExitData (xmlDocPtr doc, xmlNodePtr cur) : owner_id(0),

use_old_pos_handling(true)
{
  if (XMLhelper::get_prop(cur, "use-old-pos-handling",
use_old_pos_handling));
    {
      std::cout << "XMLPLF: Use Old Pos Handling: " << use_old_pos_handling
<< std::endl;
    }


is the ; after the "if" intentional? does this section not just equate to:
std::cout << "XMLPLF: Use Old Pos Handling: " << use_old_pos_handling <<
std::endl;
?

I am just tidying up all the windows warning, which should make it more
portable as well.

Ginge






reply via email to

[Prev in Thread] Current Thread [Next in Thread]