From fc42d1159f390a99d886ea0f82d268613ac22e2f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 15 Mar 2022 13:52:30 +0000 Subject: ofz: Use-of-uninitialized-value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I742132da8fab7168495c7756aaffb1742a1bd973 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131613 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- xmloff/source/style/GradientStyle.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff') diff --git a/xmloff/source/style/GradientStyle.cxx b/xmloff/source/style/GradientStyle.cxx index 7626db9db8ce..f3fbfb01ec24 100644 --- a/xmloff/source/style/GradientStyle.cxx +++ b/xmloff/source/style/GradientStyle.cxx @@ -78,7 +78,7 @@ void XMLGradientStyleImport::importXML( for (auto &aIter : sax_fastparser::castToFastAttributeList( xAttrList )) { - sal_Int32 nTmpValue; + sal_Int32 nTmpValue(0); switch( aIter.getToken() ) { -- cgit