Skip to content
Permalink
Browse files

qgscoordinatetransform.cpp: silence cppcheck warning due to double lo…

…ck construct
  • Loading branch information
rouault committed Jun 1, 2020
1 parent 7b63dc0 commit a4f38a08bb06df10ee9138bbcf7f993cfe441902
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgscoordinatetransform.cpp
@@ -1105,6 +1105,7 @@ void QgsCoordinateTransform::removeFromCacheObjectsBelongingToCurrentThread( voi
return;

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

0 comments on commit a4f38a0

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