mirror of https://github.com/PCSX2/pcsx2.git
common: init m_handled in the SrcType_PageFault constructor
Coverity: CID 147021 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)i 2. uninit_member: Non-static class member m_handled is not initialized in this constructor nor in any functions that it calls.
This commit is contained in:
parent
23591deb81
commit
3064d0c300
|
@ -109,7 +109,7 @@ protected:
|
|||
bool m_handled;
|
||||
|
||||
public:
|
||||
SrcType_PageFault() {}
|
||||
SrcType_PageFault() : m_handled(false) {}
|
||||
virtual ~SrcType_PageFault() throw() { }
|
||||
|
||||
bool WasHandled() const { return m_handled; }
|
||||
|
|
Loading…
Reference in New Issue