Skip to content

Commit

Permalink
fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Jojo-Schmitz committed May 18, 2020
1 parent 941eaab commit 98d7194
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion importexport/musicxml/exportxml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4963,7 +4963,7 @@ static void spannerStart(ExportMusicXml* exp, int strack, int etrack, int track,
break;
default:
qDebug("spannerStart: direction type %d ('%s') at tick %d not implemented",
e->type(), Element::name(e->type()), seg->tick().ticks());
int(e->type()), Element::name(e->type()), seg->tick().ticks());
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion libmscore/cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ Segment* Score::setNoteRest(Segment* segment, int track, NoteVal nval, Fraction
}
if (externalInputState) {
is.setTrack(nr->track());
ChordRest* cr = nr->isRest() ? toChordRest(nr) : toNote(nr)->chord();
cr = nr->isRest() ? toChordRest(nr) : toNote(nr)->chord();
is.setLastSegment(is.segment());
is.setSegment(cr->segment());
}
Expand Down

0 comments on commit 98d7194

Please sign in to comment.