include/o3tl/intcmp.hxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 51572f6024da72fbed4d9d1936041962afb1cac7
Author: Stephan Bergmann <[email protected]>
AuthorDate: Thu Jun 2 08:24:21 2022 +0200
Commit: Stephan Bergmann <[email protected]>
CommitDate: Thu Jun 2 09:36:09 2022 +0200
Suppress false positive cid#1504594
Change-Id: I9a4a20a2725a050b7e3d0aa38cb4568e7462926c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135287
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <[email protected]>
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;