Skip to content

Commit

Permalink
Remove redundant mutex locks
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 19, 2018
1 parent ac0a188 commit 312c688
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/auth/basic/qgsauthbasicmethod.cpp
Expand Up @@ -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() )
{
Expand Down
3 changes: 1 addition & 2 deletions src/auth/esritoken/qgsauthesritokenmethod.cpp
Expand Up @@ -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() )
{
Expand Down

0 comments on commit 312c688

Please sign in to comment.