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

coverity#1257113 Uninitialized pointer field

Change-Id: If1454e643bba38a0bffd0e14a28045dc5e544d11
üst a5847cff
...@@ -291,8 +291,9 @@ struct LibLibreOffice_Impl : public _LibreOfficeKit ...@@ -291,8 +291,9 @@ struct LibLibreOffice_Impl : public _LibreOfficeKit
void *mpCallbackData; void *mpCallbackData;
LibLibreOffice_Impl() LibLibreOffice_Impl()
: maThread(0), : maThread(0)
mpCallback(nullptr) , mpCallback(nullptr)
, mpCallbackData(nullptr)
{ {
if(!(m_pOfficeClass = gOfficeClass.lock())) { if(!(m_pOfficeClass = gOfficeClass.lock())) {
m_pOfficeClass.reset(new LibreOfficeKitClass); m_pOfficeClass.reset(new LibreOfficeKitClass);
......
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