diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-09-27 10:59:06 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-09-27 10:59:34 +0200 |
commit | 6981fd4e9ffafaed2853932e3ed41a6ec7a284b5 (patch) | |
tree | 21f63512176600d64489a87cd0dbeb45bbcd7263 /cui/source/options | |
parent | a81156329dfc1bc8b2e9b69fc81876016c775e76 (diff) |
WaE: variable 'bValid' is used uninitialized whenever 'if' condition is false
Change-Id: I3357ff4af0ac43950db94d1a009faeb4fb281dba
Diffstat (limited to 'cui/source/options')
-rw-r--r-- | cui/source/options/optaboutconfig.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index 4cba4d7a56bc..f78303fa7577 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -62,7 +62,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeCuiCustomMultilineEdit(Wind void CuiCustomMultilineEdit::KeyInput( const KeyEvent& rKeyEvent ) { - bool bValid; + bool bValid = false; bool bNonSpace = rKeyEvent.GetKeyCode().GetCode() != KEY_SPACE; if( bNumericOnly && bNonSpace ) { |