GUI: Initialize all class members

CID 146984 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)6. uninit_member: Non-static class member m_performFileWrites is not initialized in this constructor nor in any functions that it calls.
This commit is contained in:
Akash 2015-10-23 19:58:21 +05:30
parent 589e838fa0
commit 55a88688a3
1 changed files with 3 additions and 0 deletions

View File

@ -29,6 +29,9 @@ bool RemoveDirectory( const wxString& dirname );
FolderMemoryCard::FolderMemoryCard() { FolderMemoryCard::FolderMemoryCard() {
m_slot = 0; m_slot = 0;
m_isEnabled = false; m_isEnabled = false;
m_performFileWrites = false;
m_framesUntilFlush = 0;
m_timeLastWritten = 0;
} }
void FolderMemoryCard::InitializeInternalData() { void FolderMemoryCard::InitializeInternalData() {