summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-06 13:10:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-06 16:35:47 +0000
commitf61c95381f623d560bed47d2a457c4737fe2a0f4 (patch)
tree1f1375b5fe9882e172eed2956302e79198133699 /vcl
parent92204f06b53846cd60055df1757a0b20cbe5eb6e (diff)
coverity#708646 Uninitialized scalar field
Change-Id: I16d70c8e8d7da22a98ec04fca6b88f3b51577fde
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/keycod.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/keycod.cxx b/vcl/source/window/keycod.cxx
index 9ed1e4502c3f..a31ba0a2b61d 100644
--- a/vcl/source/window/keycod.cxx
+++ b/vcl/source/window/keycod.cxx
@@ -76,6 +76,8 @@ KeyCode::KeyCode( KeyFuncType eFunction )
KeyCode::KeyCode( const ResId& rResId )
+ : nCode(0)
+ , eFunc(KEYFUNC_DONTKNOW)
{
rResId.SetRT( RSC_KEYCODE );