Skip to content

Commit

Permalink
Fix (MSVC) compiler warnings
Browse files Browse the repository at this point in the history
about local variables colliding with global ones
  • Loading branch information
Jojo-Schmitz authored and igorkorsukov committed Dec 10, 2021
1 parent 4af1c6e commit 4a1219b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/importexport/musicxml/internal/musicxml/exportxml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2253,8 +2253,8 @@ static const MusicXmlClefInfo findClefInfoByType(const ClefType& v)
});

IF_ASSERT_FAILED(it != CLEF_INFOS.cend()) {
static MusicXmlClefInfo dummy;
return dummy;
static MusicXmlClefInfo dummy_;
return dummy_;
}
return *it;
}
Expand Down
4 changes: 2 additions & 2 deletions src/notation/view/widgets/tupletdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ void TupletDialog::apply()
options.numberType = numberType();
options.bracketType = bracketType();

ActionData data = ActionData::make_arg1<TupletOptions>(options);
dispatcher()->dispatch("custom-tuplet", data);
ActionData data_ = ActionData::make_arg1<TupletOptions>(options);
dispatcher()->dispatch("custom-tuplet", data_);
}

void TupletDialog::bboxClicked(QAbstractButton* button)
Expand Down

0 comments on commit 4a1219b

Please sign in to comment.