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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 24 19:33:11 UTC 2021


 slideshow/source/engine/animationnodes/animationphysicsnode.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 27273c2c43875acda77b3262c6a4e6138d5dacf6
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Aug 24 17:03:25 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Aug 24 21:32:35 2021 +0200

    WaE: silence -Wmaybe-uninitialized
    
    Change-Id: Iddc7fd644b2fe45a4de420b926e1270887e5001f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120956
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/slideshow/source/engine/animationnodes/animationphysicsnode.cxx b/slideshow/source/engine/animationnodes/animationphysicsnode.cxx
index 6d2e5b756df1..0502f35c18d7 100644
--- a/slideshow/source/engine/animationnodes/animationphysicsnode.cxx
+++ b/slideshow/source/engine/animationnodes/animationphysicsnode.cxx
@@ -35,7 +35,7 @@ void AnimationPhysicsNode::dispose()
 
 AnimationActivitySharedPtr AnimationPhysicsNode::createActivity() const
 {
-    double fDuration;
+    double fDuration(0.0);
     ENSURE_OR_THROW((mxPhysicsMotionNode->getDuration() >>= fDuration),
                     "Couldn't get the animation duration.");
 


More information about the Libreoffice-commits mailing list