Skip to content

Commit

Permalink
Fix build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 16, 2020
1 parent ddbe56f commit 6cd8d89
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/process/qgsprocess.cpp
Expand Up @@ -287,15 +287,13 @@ int QgsProcessingExec::run( const QStringList &constArgs )
QgsUnitTypes::AreaUnit areaUnit = QgsUnitTypes::AreaUnknownUnit;
QString projectPath;
QVariantMap params;
bool paramsEnded = false;
int i = 3;
for ( ; i < args.count(); i++ )
{
QString arg = args.at( i );

if ( arg == QLatin1String( "--" ) )
{
paramsEnded = true;
break;
}

Expand Down

0 comments on commit 6cd8d89

Please sign in to comment.