diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-02-26 15:00:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-02-26 20:03:48 +0100 |
commit | ad4692357b2d32ab10301576031a60ff68b51482 (patch) | |
tree | ba5c2a1d636162621fd6fd100bd4b40bc534cc8d /vcl/source | |
parent | d2fea40762d5d9ee918edcb4ff281e362df92c5d (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.cxx | 2 |
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) { |