diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-05 21:02:53 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-05 21:11:47 +0100 |
commit | 826e43eda6bda9610ea3e07e2a27b37c93f529f4 (patch) | |
tree | 49fdedc81bee72234469352ad29148917bf81ea2 /uui | |
parent | 0825c92c0b9ffc2cc28aa4e3a17fdfdbee5e5e39 (diff) |
coverity#708569 Uninitialized scalar field
Change-Id: Ibe5ff56f9b068dd438ecd92f99fdd2a91b604165
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/loginerr.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/uui/source/loginerr.hxx b/uui/source/loginerr.hxx index 60bb266ece8c..a5b620e011d9 100644 --- a/uui/source/loginerr.hxx +++ b/uui/source/loginerr.hxx @@ -48,11 +48,12 @@ private: bool m_bRecommendToOpenReadonly; public: - LoginErrorInfo() - : m_nFlags( LOGINERROR_FLAG_MODIFY_USER_NAME ), - m_nRet( ERRCODE_BUTTON_CANCEL ) - { - } + LoginErrorInfo() + : m_nFlags(LOGINERROR_FLAG_MODIFY_USER_NAME) + , m_nRet(ERRCODE_BUTTON_CANCEL) + , m_bRecommendToOpenReadonly(false) + { + } const OUString& GetTitle() const { return m_aTitle; } const OUString& GetServer() const { return m_aServer; } |