aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett Brown <themagnificentmrb@gmail.com>2016-08-17 00:39:15 -0700
committerGarrett Brown <themagnificentmrb@gmail.com>2016-08-17 11:01:06 -0700
commitd0ad7cbbcd4a5900826bc976052ed28dcf6738e0 (patch)
tree1fcebe65fff5b053b13304f413d06be3bff80e9f
parent4fc59c5ec2f3c870eab668a4539f865a49d71fed (diff)
Fix defect in CID 142228
Defect was: *** CID 142228: Uninitialized members (UNINIT_CTOR) 36 using namespace JOYSTICK; 37 38 CKeymapHandler::CKeymapHandler(void) : 39 m_state(STATE_UNPRESSED), 40 m_lastButtonPress(0) 41 { >> CID 142228: Uninitialized members (UNINIT_CTOR) >> Non-static class member "m_lastDigitalActionMs" is not initialized in this constructor nor in any functions that it calls. 42 } 43 44 CKeymapHandler::~CKeymapHandler(void) 45 { 46 } 47
-rw-r--r--xbmc/input/joysticks/KeymapHandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/input/joysticks/KeymapHandler.cpp b/xbmc/input/joysticks/KeymapHandler.cpp
index 17f771d1bc..c1bedbf01e 100644
--- a/xbmc/input/joysticks/KeymapHandler.cpp
+++ b/xbmc/input/joysticks/KeymapHandler.cpp
@@ -37,7 +37,8 @@ using namespace JOYSTICK;
CKeymapHandler::CKeymapHandler(void) :
m_state(STATE_UNPRESSED),
- m_lastButtonPress(0)
+ m_lastButtonPress(0),
+ m_lastDigitalActionMs(0)
{
}