]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/servconf.cpp
Fix compiler warning in sgconf_xml
[stg.git] / stglibs / srvconf.lib / servconf.cpp
index 8074801e54c1ea6900202e021e48c136f77f6e67..a7cac13c3330c035a61590a5e234dcfaaa7a8842 100644 (file)
@@ -90,9 +90,23 @@ sc->End(el);
 }
 //-----------------------------------------------------------------------------
 SERVCONF::SERVCONF()
+    : currParser(NULL),
+      parseDepth(0),
+      error(0),
+      RecvUserDataCb(NULL),
+      RecvGetUserDataCb(NULL),
+      RecvServerInfoDataCb(NULL),
+      RecvChgUserCb(NULL),
+      RecvCheckUserCb(NULL),
+      RecvSendMessageCb(NULL),
+      getUserDataDataCb(NULL),
+      getUsersDataDataCb(NULL),
+      getServerInfoDataCb(NULL),
+      chgUserDataCb(NULL),
+      checkUserDataCb(NULL),
+      sendMessageDataCb(NULL)
 {
 parser = XML_ParserCreate(NULL);
-parseDepth = 0;
 }
 //-----------------------------------------------------------------------------
 void SERVCONF::SetServer(const char * server)