Skip to content

Commit

Permalink
Fix uninitialized variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 23, 2021
1 parent 7243cb6 commit 5d6e7fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsmergeattributesdialog.cpp
Expand Up @@ -540,7 +540,7 @@ void QgsMergeAttributesDialog::mFromSelectedPushButton_clicked()

void QgsMergeAttributesDialog::mFromLargestPushButton_clicked()
{
QgsFeatureId featureId;
QgsFeatureId featureId = FID_NULL;
double maxValue = 0;

switch ( mVectorLayer->geometryType() )
Expand Down

0 comments on commit 5d6e7fd

Please sign in to comment.