From ad4692357b2d32ab10301576031a60ff68b51482 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 26 Feb 2022 15:00:18 +0000 Subject: cid#1500670 Uninitialized scalar variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib4b873194c6db55212a5b786322b2a6d45277369 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130590 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- vcl/source/filter/ixpm/xpmread.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source') 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(pString), mnCpp); - colordata aValue; + colordata aValue{0}; bool bStatus = ImplGetColSub(aValue); if (bStatus) { -- cgit