Skip to content

Commit

Permalink
Silence cppcheck false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 18, 2023
1 parent 250faa0 commit 65d822e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/processing/qgsprocessingparameters.cpp
Expand Up @@ -595,6 +595,7 @@ QStringList QgsProcessingParameters::parameterAsEnumStrings( const QgsProcessing
if ( enumValues.isEmpty() || !subtraction.isEmpty() )
{
enumValues.clear();
// cppcheck-suppress invalidContainer
processVariant( definition->defaultValue() );
}

Expand Down

0 comments on commit 65d822e

Please sign in to comment.