summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-02-26 15:00:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-02-26 20:03:48 +0100
commitad4692357b2d32ab10301576031a60ff68b51482 (patch)
treeba5c2a1d636162621fd6fd100bd4b40bc534cc8d /vcl/source
parentd2fea40762d5d9ee918edcb4ff281e362df92c5d (diff)
cid#1500670 Uninitialized scalar variable
Change-Id: Ib4b873194c6db55212a5b786322b2a6d45277369 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130590 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/filter/ixpm/xpmread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/ixpm/xpmread.cxx b/vcl/source/filter/ixpm/xpmread.cxx
index ace45f577826..2a979d2df238 100644
--- a/vcl/source/filter/ixpm/xpmread.cxx
+++ b/vcl/source/filter/ixpm/xpmread.cxx
@@ -288,7 +288,7 @@ bool XPMReader::ImplGetColor()
return false;
OString aKey(reinterpret_cast<char*>(pString), mnCpp);
- colordata aValue;
+ colordata aValue{0};
bool bStatus = ImplGetColSub(aValue);
if (bStatus)
{