Appeasing valgrind:
Added a virtual destructor to State and initialized NetworkHandler::m_connected to false in ctor.
Appeasing g++:
Reordered the initialization of variables to correspond to the order they 're declared in. Added a default: at guiBaseClass.cpp, line 35 to account for enum values not in the switch statement. Added parentheses at sfchat.cpp, lines 973-974 to clarify order of precedence.
Appeasing valgrind: Added a virtual destructor to State and initialized NetworkHandler::m_connected to false in ctor.
Appeasing g++: Reordered the initialization of variables to correspond to the order they 're declared in. Added a
default:
at guiBaseClass.cpp, line 35 to account for enum values not in the switch statement. Added parentheses at sfchat.cpp, lines 973-974 to clarify order of precedence.