From 67beff22ceaf2cdcbab92a978e8afc35a9751762 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 14 Oct 2019 21:28:43 -0600 Subject: [PATCH] trivial cleanups --- libs/ardour/rt_midibuffer.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/ardour/rt_midibuffer.cc b/libs/ardour/rt_midibuffer.cc index a440c7bb6f..c966e23121 100644 --- a/libs/ardour/rt_midibuffer.cc +++ b/libs/ardour/rt_midibuffer.cc @@ -39,7 +39,6 @@ RTMidiBuffer::RTMidiBuffer (size_t capacity) { if (capacity) { resize (capacity); - clear (); } } @@ -137,7 +136,6 @@ RTMidiBuffer::read (MidiBuffer& dst, samplepos_t start, samplepos_t end, samplec if (write_loc == 0) { DEBUG_TRACE (DEBUG::MidiRingBuffer, string_compose ("MidiRingBuffer: overflow in destination MIDI buffer, stopped after %1 events, dst size = %2\n", count, dst.size())); - cerr << string_compose ("MidiRingBuffer: overflow in destination MIDI buffer, stopped after %1 events, dst size = %1\n", count, dst.size()) << endl; break; }