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:
Gregory Hainaut 2015-09-21 18:00:48 +02:00
parent 23591deb81
commit 3064d0c300
1 changed files with 1 additions and 1 deletions

View File

@ -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; }