(svn r26056) -Fix: a number of possibly uninitialised variables

This commit is contained in:
rubidium
2013-11-22 21:50:43 +00:00
parent bdd62a4b3e
commit 2e54c8fdfa
6 changed files with 13 additions and 9 deletions

View File

@@ -29,9 +29,11 @@ assert_compile((int)CRR_END == (int)ADMIN_CRR_END);
* Create the admin handler for the given socket.
* @param s The socket to communicate over.
*/
NetworkAdminSocketHandler::NetworkAdminSocketHandler(SOCKET s)
NetworkAdminSocketHandler::NetworkAdminSocketHandler(SOCKET s) : status(ADMIN_STATUS_INACTIVE)
{
this->sock = s;
this->admin_name[0] = '\0';
this->admin_version[0] = '\0';
}
NetworkAdminSocketHandler::~NetworkAdminSocketHandler()