Skip to content

Commit

Permalink
Remove nullptr from lastLabel variable
Browse files Browse the repository at this point in the history
Co-authored-by: Nyall Dawson <[email protected]>
  • Loading branch information
merydian and nyalldawson authored Jul 11, 2024
1 parent e5b7d71 commit 137369d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/providers/arcgis/qgsarcgisrestutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@ QgsFeatureRenderer *QgsArcGisRestUtils::convertRenderer( const QVariantMap &rend
for ( const QVariant& visualVariable : visualVariablesData )
{
const QVariantList stops = visualVariable.toMap().value( QStringLiteral( "stops" ) ).toList();
QString lastLabel = nullptr;
QString lastLabel;

for ( const QVariant &stop : stops )
{
Expand Down

0 comments on commit 137369d

Please sign in to comment.