mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
cfd02bff53
commit
f6f8dc1a22
|
@ -179,7 +179,10 @@ void InputIsoFile::_init()
|
||||||
|
|
||||||
m_read_inprogress = false;
|
m_read_inprogress = false;
|
||||||
m_read_count = 0;
|
m_read_count = 0;
|
||||||
|
ReadUnit = 0;
|
||||||
|
m_current_lsn = -1;
|
||||||
m_read_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
|
// Tests the specified filename to see if it is a supported ISO type. This function typically
|
||||||
|
|
|
@ -48,7 +48,6 @@ protected:
|
||||||
AsyncFileReader* m_reader;
|
AsyncFileReader* m_reader;
|
||||||
|
|
||||||
s32 m_current_lsn;
|
s32 m_current_lsn;
|
||||||
uint m_current_count;
|
|
||||||
|
|
||||||
isoType m_type;
|
isoType m_type;
|
||||||
u32 m_flags;
|
u32 m_flags;
|
||||||
|
|
Loading…
Reference in New Issue