Fix some unitialized fields in modules.

They are not used before OnLoad anyway, but Coverity will be happier.
This commit is contained in:
Alexey Sokolov
2015-10-30 14:52:51 +00:00
parent c8edabb035
commit 096dc5b320
10 changed files with 31 additions and 34 deletions
+10 -10
View File
@@ -372,11 +372,11 @@ public:
}
private:
bool m_bCloaked;
bool m_bAuthed;
bool m_bRequestedWhoami;
bool m_bRequestedChallenge;
bool m_bCatchResponse;
bool m_bCloaked{};
bool m_bAuthed{};
bool m_bRequestedWhoami{};
bool m_bRequestedChallenge{};
bool m_bCatchResponse{};
MCString m_msChanModes;
void PutQ(const CString& sMessage) {
@@ -590,11 +590,11 @@ private:
/* Settings */
CString m_sUsername;
CString m_sPassword;
bool m_bUseCloakedHost;
bool m_bUseChallenge;
bool m_bRequestPerms;
bool m_bJoinOnInvite;
bool m_bJoinAfterCloaked;
bool m_bUseCloakedHost{};
bool m_bUseChallenge{};
bool m_bRequestPerms{};
bool m_bJoinOnInvite{};
bool m_bJoinAfterCloaked{};
void SetUsername(const CString& sUsername) {
m_sUsername = sUsername;