diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-09-23 12:27:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-09-23 14:59:14 +0200 |
commit | 2313d99c019f27956a4d28f96c25ea2477d538b9 (patch) | |
tree | 3688229ffaf3fe067f98369ace93ab685d1e661b /extensions | |
parent | b4ca42983f6d1d474c8703264428a8c462b8d1b9 (diff) |
cid#1466970 annotate as false positive
Change-Id: I2ccb0fe70626c998fbc108464f03f1d4144e600d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103244
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/update/check/updatecheck.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index 348ef35faaca..485b4e140947 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -810,6 +810,7 @@ UpdateCheck::initialize(const uno::Sequence< beans::NamedValue >& rValues, bool downloadPaused = aModel.isDownloadPaused(); enableDownload(true, downloadPaused); + // coverity[lock_order : FALSE] - incorrect report of lock older error with std::recursive_mutex setUIState(downloadPaused ? UPDATESTATE_DOWNLOAD_PAUSED : UPDATESTATE_DOWNLOADING); } @@ -841,7 +842,10 @@ UpdateCheck::initialize(const uno::Sequence< beans::NamedValue >& rValues, if ( bDownloadAvailable ) setUIState( UPDATESTATE_DOWNLOAD_AVAIL ); else + { + // coverity[lock_order : FALSE] - incorrect report of lock order error with std::recursive_mutex setUIState(getUIState(m_aUpdateInfo)); + } } } } |