Skip to content
Permalink
Browse files

Remove redundant mutex locks

  • Loading branch information
nyalldawson committed Oct 18, 2018
1 parent ac0a188 commit 312c6881514e343b787fc7beb0c5e915bb93f997
Showing with 1 addition and 3 deletions.
  1. +0 −1 src/auth/basic/qgsauthbasicmethod.cpp
  2. +1 −2 src/auth/esritoken/qgsauthesritokenmethod.cpp
@@ -67,7 +67,6 @@ bool QgsAuthBasicMethod::updateNetworkRequest( QNetworkRequest &request, const Q
const QString &dataprovider )
{
Q_UNUSED( dataprovider )
QMutexLocker locker( &mMutex );
QgsAuthMethodConfig mconfig = getMethodConfig( authcfg );
if ( !mconfig.isValid() )
{
@@ -59,8 +59,7 @@ QString QgsAuthEsriTokenMethod::displayDescription() const
bool QgsAuthEsriTokenMethod::updateNetworkRequest( QNetworkRequest &request, const QString &authcfg,
const QString &dataprovider )
{
Q_UNUSED( dataprovider )
QMutexLocker locker( &mMutex );
Q_UNUSED( dataprovider );
QgsAuthMethodConfig mconfig = getMethodConfig( authcfg );
if ( !mconfig.isValid() )
{

0 comments on commit 312c688

Please sign in to comment.
You can’t perform that action at this time.