summaryrefslogtreecommitdiff
path: root/libs/ardour/buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/buffer.cc')
-rw-r--r--libs/ardour/buffer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/buffer.cc b/libs/ardour/buffer.cc
index a2090d7258..85b9317f78 100644
--- a/libs/ardour/buffer.cc
+++ b/libs/ardour/buffer.cc
@@ -89,8 +89,8 @@ void
MidiBuffer::read_from(const Buffer& src, jack_nframes_t nframes, jack_nframes_t offset)
{
// FIXME: offsets? param semantics?
- throw;
- assert(src.type() == _type == DataType::MIDI);
+ assert(src.type() == _type);
+ assert(src.type() == DataType::MIDI);
assert(offset == 0);
MidiBuffer& msrc = (MidiBuffer&)src;
_size = 0;