Skip to content

Commit

Permalink
qgscoordinatetransform.cpp: silence cppcheck warning due to double lo…
Browse files Browse the repository at this point in the history
…ck construct
  • Loading branch information
rouault committed Jun 2, 2020
1 parent 7b63dc0 commit a4f38a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgscoordinatetransform.cpp
Expand Up @@ -1105,6 +1105,7 @@ void QgsCoordinateTransform::removeFromCacheObjectsBelongingToCurrentThread( voi
return;

QgsReadWriteLocker locker( sCacheLock, QgsReadWriteLocker::Write );
// cppcheck-suppress identicalConditionAfterEarlyExit
if ( sDisableCache )
return;

Expand Down

0 comments on commit a4f38a0

Please sign in to comment.