CDVD: Initialze all class members

CID 147025 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)8. uninit_member: Non-static class member m_current_count is not initialized in this constructor nor in any functions that it calls.
This commit is contained in:
Akash 2015-10-23 20:36:02 +05:30
parent cfd02bff53
commit f6f8dc1a22
2 changed files with 3 additions and 1 deletions

View File

@ -179,7 +179,10 @@ void InputIsoFile::_init()
m_read_inprogress = false;
m_read_count = 0;
ReadUnit = 0;
m_current_lsn = -1;
m_read_lsn = -1;
m_reader = NULL;
}
// Tests the specified filename to see if it is a supported ISO type. This function typically

View File

@ -48,7 +48,6 @@ protected:
AsyncFileReader* m_reader;
s32 m_current_lsn;
uint m_current_count;
isoType m_type;
u32 m_flags;