sd/source/filter/ppt/pptinanimations.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fae7e172e2f7585ed633c9c6328fd25e2f5dd6df
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Sep 3 09:47:52 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Fri Sep 3 16:49:05 2021 +0200

    ofz: MemorySanitizer: use-of-uninitialized-value
    
    Change-Id: I47934f5a6b34ef0f495098f78c53c088bf5152e4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121595
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sd/source/filter/ppt/pptinanimations.cxx 
b/sd/source/filter/ppt/pptinanimations.cxx
index d03efbc87980..cff1e2d898dd 100644
--- a/sd/source/filter/ppt/pptinanimations.cxx
+++ b/sd/source/filter/ppt/pptinanimations.cxx
@@ -2241,7 +2241,7 @@ bool AnimationImporter::importAttributeValue( const Atom* 
pAtom, Any& rAny )
         sal_uInt32 nRecLen = pAtom->getLength();
         if ( nRecLen >= 1 )
         {
-            sal_Int8 nType;
+            sal_Int8 nType(0);
             mrStCtrl.ReadSChar( nType );
             switch( nType )
             {

Reply via email to