summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-11-26 09:10:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-11-26 13:05:43 +0100
commit00455b22f0544159e60e9f9f9fd1a7c41855fb58 (patch)
treef21140e4d9c137b7d862e3bbd588ff5fcd6d83ef /framework
parentab1a7b5242c3d5e0b86601073fb4ff4750f7f0d3 (diff)
cid#1494445 silence Data race condition
Change-Id: If1037293058812d6800646a2a0399a59f356d098 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125865 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/source/helper/statusindicatorfactory.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/source/helper/statusindicatorfactory.cxx b/framework/source/helper/statusindicatorfactory.cxx
index 0a87c9bea258..a3f9b864dbe8 100644
--- a/framework/source/helper/statusindicatorfactory.cxx
+++ b/framework/source/helper/statusindicatorfactory.cxx
@@ -519,6 +519,7 @@ void StatusIndicatorFactory::impl_reschedule(bool bForce)
if (m_nInReschedule != 0)
return;
+ // coverity[missing_lock: FALSE] - coverity fails to see the aRescheduleGuard ctor as taking a lock
++m_nInReschedule;
aRescheduleGuard.unlock();
// <- SAFE