summaryrefslogtreecommitdiff
path: root/include/o3tl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-06-02 08:24:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-06-02 09:36:09 +0200
commit51572f6024da72fbed4d9d1936041962afb1cac7 (patch)
treec568429054a68b833e59dbd2a82ebd13d0edcf98 /include/o3tl
parentf23b0d206e80fe740a45611d719fbd3ec81bcf57 (diff)
Suppress false positive cid#1504594
Change-Id: I9a4a20a2725a050b7e3d0aa38cb4568e7462926c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135287 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/o3tl')
-rw-r--r--include/o3tl/intcmp.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/o3tl/intcmp.hxx b/include/o3tl/intcmp.hxx
index fda9d68f5ff0..1324afcdaf7d 100644
--- a/include/o3tl/intcmp.hxx
+++ b/include/o3tl/intcmp.hxx
@@ -34,6 +34,7 @@ using std::cmp_greater_equal;
template <typename T1, typename T2> constexpr bool cmp_equal(T1 value1, T2 value2) noexcept
{
+ // coverity[same_on_both_sides: FALSE]
if constexpr (std::is_signed_v<T1> == std::is_signed_v<T2>)
{
return value1 == value2;