remove unused variables

This commit is contained in:
Paul Davis 2025-01-28 13:29:34 -07:00
parent 53e1e7a032
commit 7bb4ae2cb8

View file

@ -2001,8 +2001,6 @@ Pianoroll::rec_button_press (GdkEventButton* ev)
std::shared_ptr<Track> track = std::dynamic_pointer_cast<MidiTrack> (st->shared_from_this());
assert (track);
bool box_armed = !track->rec_enable_control()->get_value();
std::shared_ptr<RouteList> rl;
rl.reset (new RouteList);
@ -2343,8 +2341,6 @@ Pianoroll::cut_copy (Editing::CutCopyOp op)
break;
}
bool did_edit = false;
if (op == Delete || op == Cut || op == Clear) {
_drags->abort ();