Skip to content

Commit

Permalink
Merge pull request #25162 from Jojo-Schmitz/4.4.3-compiler-warnings
Browse files Browse the repository at this point in the history
Fix MSVC compiler warning
  • Loading branch information
cbjeukendrup authored Oct 14, 2024
2 parents d065653 + a47caf4 commit e184916
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2240,8 +2240,8 @@ void MusicXMLParserPass2::part()
matchingNote->setTieBack(unendedTie);
} else {
// try other voices in the stave
const Part* part = startChord->part();
for (track_idx_t track = part->startTrack(); track < part->endTrack() + VOICES; track++) {
const Part* p = startChord->part();
for (track_idx_t track = p->startTrack(); track < p->endTrack() + VOICES; track++) {
nextEl = nextSeg ? nextSeg->element(track) : nullptr;
nextChord = nextEl && nextEl->isChord() ? toChord(nextEl) : nullptr;
if (nextChord && nextChord->vStaffIdx() != startChord->vStaffIdx()) {
Expand Down

0 comments on commit e184916

Please sign in to comment.