Skip to content

Commit

Permalink
Fix unused argument warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 13, 2022
1 parent e68ac4e commit 52b45b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/expression/qgsexpressionutils.cpp
Expand Up @@ -51,7 +51,7 @@ QgsGradientColorRamp QgsExpressionUtils::getRamp( const QVariant &value, QgsExpr
return QgsGradientColorRamp();
}

QgsMapLayer *QgsExpressionUtils::getMapLayer( const QVariant &value, const QgsExpressionContext *context, QgsExpression * )
QgsMapLayer *QgsExpressionUtils::getMapLayer( const QVariant &value, const QgsExpressionContext *, QgsExpression * )
{
// First check if we already received a layer pointer
QgsMapLayer *ml = value.value< QgsWeakMapLayerPointer >().data();
Expand Down

0 comments on commit 52b45b5

Please sign in to comment.