[Libreoffice-commits] core.git: svtools/source

Caolán McNamara caolanm at redhat.com
Wed May 16 19:53:21 UTC 2018


 svtools/source/config/colorcfg.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8eaf34001f76008488208bc157903c7d457238b7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed May 16 09:19:36 2018 +0100

    silence -Wmaybe-uninitialized
    
    Change-Id: I67fa35dd310fc11d52d455948cfecc40dbb1ffc8
    Reviewed-on: https://gerrit.libreoffice.org/54419
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx
index 44ce3e50655c..580c28034f47 100644
--- a/svtools/source/config/colorcfg.cxx
+++ b/svtools/source/config/colorcfg.cxx
@@ -228,7 +228,7 @@ void ColorConfig_Impl::Load(const OUString& rScheme)
     {
         if(pColors[nIndex].hasValue())
         {
-            sal_Int32 nTmp;
+            sal_Int32 nTmp(0);
             pColors[nIndex] >>= nTmp;
             m_aConfigValues[i].nColor = Color(nTmp);
         }


More information about the Libreoffice-commits mailing list