Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
qgsalgorithmgrid.cpp: remove useless nullptr check
  • Loading branch information
rouault committed Jun 1, 2020
1 parent 2c75d87 commit 4dbfe2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/analysis/processing/qgsalgorithmgrid.cpp
Expand Up @@ -286,7 +286,7 @@ void QgsGridAlgorithm::createLineGrid( std::unique_ptr< QgsFeatureSink > &sink,

while ( x <= mGridExtent.xMaximum() )
{
if ( feedback && feedback->isCanceled() )
if ( feedback->isCanceled() )
break;

QgsPoint pt1 = QgsPoint( x, mGridExtent.yMaximum() );
Expand Down

0 comments on commit 4dbfe2f

Please sign in to comment.