Kaydet (Commit) 0c69f9c6 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1430100 Uninitialized pointer field

Change-Id: I6d544b97c2b22a16d6a12b898cbe25580c433b61
Reviewed-on: https://gerrit.libreoffice.org/51570Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 0f0a8012
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
sw::LegacyModifyHint::~LegacyModifyHint() {} sw::LegacyModifyHint::~LegacyModifyHint() {}
sw::ModifyChangedHint::~ModifyChangedHint() {} sw::ModifyChangedHint::~ModifyChangedHint() {}
SwClient::SwClient(SwClient&& o) SwClient::SwClient(SwClient&& o)
: m_pRegisteredIn(nullptr)
{ {
if(o.m_pRegisteredIn) if(o.m_pRegisteredIn)
{ {
...@@ -38,7 +38,6 @@ SwClient::SwClient(SwClient&& o) ...@@ -38,7 +38,6 @@ SwClient::SwClient(SwClient&& o)
} }
} }
SwClient::~SwClient() SwClient::~SwClient()
{ {
if(GetRegisteredIn()) if(GetRegisteredIn())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment