Skip to content

Commit

Permalink
mark unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Dec 10, 2019
1 parent 8fb28c8 commit ab5f9d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/analysis/processing/qgsalgorithmapplylayerstyle.cpp
Expand Up @@ -61,7 +61,7 @@ void QgsApplyLayerStyleAlgorithm::initAlgorithm( const QVariantMap & )
addOutput( new QgsProcessingOutputMapLayer( QStringLiteral( "OUTPUT" ), QObject::tr( "Styled" ) ) );
}

bool QgsApplyLayerStyleAlgorithm::prepareAlgorithm( const QVariantMap &parameters, QgsProcessingContext &context, QgsProcessingFeedback *feedback )
bool QgsApplyLayerStyleAlgorithm::prepareAlgorithm( const QVariantMap &parameters, QgsProcessingContext &context, QgsProcessingFeedback * )
{
mLayer.reset( parameterAsLayer( parameters, QStringLiteral( "INPUT" ), context ) );
QString style = parameterAsFile( parameters, QStringLiteral( "STYLE" ), context );
Expand All @@ -82,6 +82,9 @@ bool QgsApplyLayerStyleAlgorithm::prepareAlgorithm( const QVariantMap &parameter

QVariantMap QgsApplyLayerStyleAlgorithm::processAlgorithm( const QVariantMap &parameters, QgsProcessingContext &context, QgsProcessingFeedback * )
{
Q_UNUSED( parameters );
Q_UNUSED( context );

QVariantMap results;
results.insert( QStringLiteral( "OUTPUT" ), mLayer->id() );
return results;
Expand Down

0 comments on commit ab5f9d0

Please sign in to comment.