Skip to content

Commit

Permalink
QgsMapToolFillRing::fillRingUnderPoint(): fix -Wmaybe-uninitialized w…
Browse files Browse the repository at this point in the history
…arning
  • Loading branch information
rouault authored and nyalldawson committed Apr 1, 2023
1 parent 6388d4c commit bcf07c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsmaptoolfillring.cpp
Expand Up @@ -161,7 +161,7 @@ void QgsMapToolFillRing::createFeature( const QgsGeometry &geometry, QgsFeatureI
// TODO refactor - shamelessly copied from QgsMapToolDeleteRing::ringUnderPoint
void QgsMapToolFillRing::fillRingUnderPoint( const QgsPointXY &p )
{
QgsFeatureId fid;
QgsFeatureId fid = -1;

QgsVectorLayer *vlayer = getCheckLayer();
if ( !vlayer )
Expand Down

0 comments on commit bcf07c6

Please sign in to comment.