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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Dec 1 19:33:18 UTC 2020


 basic/source/comp/buffer.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit c9eed223e212fb26c6399f679091f0511baf5c8e
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Dec 1 13:35:51 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Dec 1 20:32:36 2020 +0100

    cid#1470374 silence Stray semicolon
    
    Change-Id: I33bc73ff0d7f94bce5c93f9c9c1b6db8f36f34df
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106983
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/basic/source/comp/buffer.cxx b/basic/source/comp/buffer.cxx
index 3d0880f7c678..ca7af7dd4090 100644
--- a/basic/source/comp/buffer.cxx
+++ b/basic/source/comp/buffer.cxx
@@ -26,6 +26,7 @@ const sal_uInt32 UP_LIMIT=0xFFFFFF00;
 template <class I, typename T> void write(I it, T n)
 {
     *it = static_cast<sal_uInt8>(n & 0xFF);
+    // coverity[stray_semicolon : FALSE] - coverity parse error
     if constexpr (sizeof(n) > 1)
     {
         for (std::size_t i = 1; i < sizeof(n); ++i)


More information about the Libreoffice-commits mailing list