Skip to content

Commit

Permalink
Merge pull request #42916 from nyalldawson/fix_uninitialized_var_warning
Browse files Browse the repository at this point in the history
Fix uninitialized variable warning
  • Loading branch information
m-kuhn committed Apr 23, 2021
2 parents 7243cb6 + 5d6e7fd commit ddb9538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsmergeattributesdialog.cpp
Original file line number Diff line number Diff line change
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 ddb9538

Please sign in to comment.