include/vcl/dropcache.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 70546a0f629170be42198b7d6c13084856d8d81c
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Sat Aug 9 21:59:16 2025 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Sun Aug 10 11:50:02 2025 +0200

    add version to coverity workaround
    
    Change-Id: I70f0acab7cc08170c022a09ce98f8b4cf7f5122d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189277
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Tested-by: Jenkins

diff --git a/include/vcl/dropcache.hxx b/include/vcl/dropcache.hxx
index 414cc906855f..ed0e07194964 100644
--- a/include/vcl/dropcache.hxx
+++ b/include/vcl/dropcache.hxx
@@ -16,7 +16,7 @@
 #include <memory_resource>
 #endif
 
-#if defined(__COVERITY__)
+#if defined(__COVERITY__) && __COVERITY_MAJOR__ <= 2024
 #define THREAD_UNSAFE_DUMP_BEGIN                                               
                    \
     _Pragma(                                                                   
                    \
         "coverity compliance block deviate MISSING_LOCK \"Intentionally 
thread-unsafe dumping\"")

Reply via email to