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>
This commit is contained in:
Caolán McNamara
2020-09-23 12:27:31 +01:00
parent b4ca42983f
commit 2313d99c01

View File

@@ -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));
}
}
}
}