Skip to content

Commit

Permalink
Merge pull request #24280 from Jojo-Schmitz/compiler-warnings
Browse files Browse the repository at this point in the history
Fix MSVC compiler warning
  • Loading branch information
cbjeukendrup committed Aug 29, 2024
2 parents 2d2f96c + 3bae6aa commit 82ce53d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/engraving/dom/tuplet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@
#include "engravingitem.h"
#include "factory.h"
#include "measure.h"
#include "note.h"
#include "rest.h"
#include "score.h"
#include "text.h"
#include "segment.h"
#include "note.h"

#include "log.h"

Expand Down Expand Up @@ -853,8 +852,6 @@ EngravingItem* Tuplet::nextElement()
if (firstElement->type() == ElementType::CHORD) {
Chord* chord = toChord(firstElement);
return chord->firstGraceOrNote();
} else {
return toRest(firstElement);
}
return firstElement;
}
Expand Down

0 comments on commit 82ce53d

Please sign in to comment.