cid#1462264 Uninitialized scalar field

Change-Id: I4b733bf37132073ece55fa392c06086410f6f914
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92393
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara 2020-04-16 20:40:42 +01:00
parent 2b4f5ab5d7
commit 6520999570

View file

@ -29,6 +29,7 @@
GfxLink::GfxLink()
: meType(GfxLinkType::NONE)
, mnUserId(0)
, maHash(0)
, mnSwapInDataSize(0)
, mbPrefMapModeValid(false)
, mbPrefSizeValid(false)
@ -41,6 +42,7 @@ GfxLink::GfxLink(std::unique_ptr<sal_uInt8[]> pBuf, sal_uInt32 nSize, GfxLinkTyp
: meType(nType)
, mnUserId(0)
, mpSwapInData(std::shared_ptr<sal_uInt8>(pBuf.release(), pBuf.get_deleter())) // std::move(pBuf) does not compile on Jenkins MacOSX (24 May 2016)
, maHash(0)
, mnSwapInDataSize(nSize)
, mbPrefMapModeValid(false)
, mbPrefSizeValid(false)