diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-12-01 13:35:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-12-01 20:32:36 +0100 |
commit | c9eed223e212fb26c6399f679091f0511baf5c8e (patch) | |
tree | a16e6d92f32b7f50cef4a6b323d06e0956c43b16 /basic | |
parent | 55d4c6cfe5bd9b737698c6cd1f28ee8234abb5d0 (diff) |
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@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/comp/buffer.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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) |