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:
parent
2b4f5ab5d7
commit
6520999570
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue