[Libreoffice-commits] core.git: sc/inc

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Nov 18 12:33:23 UTC 2019


 sc/inc/token.hxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit f23b9ae6bbc4a82e4e9258a6a1d8ca84d6b5d8ec
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Nov 18 09:42:28 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Nov 18 13:32:07 2019 +0100

    cid#1249470 Uninitialized scalar field
    
    use comment as an annotation
    
    Change-Id: Ia8b5ba157d0d240c4a3e6beed74d66e6d34d1a32
    Reviewed-on: https://gerrit.libreoffice.org/83067
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index 317dc9b25bcd..5be5ecda9b48 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -418,8 +418,7 @@ public:
                         {
                             pS = nullptr;
                             pD = rT.GetDoubleRef();
-                            // aDub intentionally not initialized, unnecessary
-                            // because unused.
+                            // coverity[uninit_member] - aDub intentionally not initialized, unnecessary because unused.
                         }
                     }
                 SingleDoubleRefModifier( ScSingleRefData& rS )


More information about the Libreoffice-commits mailing list