From 137369d1651a4f5d53e586388e25bc7c135d4dd2 Mon Sep 17 00:00:00 2001 From: Till Frankenbach Date: Thu, 11 Jul 2024 15:10:29 -0400 Subject: [PATCH] Remove nullptr from lastLabel variable Co-authored-by: Nyall Dawson --- src/core/providers/arcgis/qgsarcgisrestutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/providers/arcgis/qgsarcgisrestutils.cpp b/src/core/providers/arcgis/qgsarcgisrestutils.cpp index 0eb5de8aecdf..fb4eb34274f7 100644 --- a/src/core/providers/arcgis/qgsarcgisrestutils.cpp +++ b/src/core/providers/arcgis/qgsarcgisrestutils.cpp @@ -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 ) {