fix another semantically-significant statement buried in an assert() macro
git-svn-id: svn://localhost/ardour2/branches/3.0@14020 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
5a568b0e31
commit
0d7ee3fbd3
@ -78,7 +78,8 @@ MidiRingBuffer<T>::read(MidiBuffer& dst, framepos_t start, framepos_t end, frame
|
||||
this->increment_read_ptr (prefix_size);
|
||||
|
||||
uint8_t status;
|
||||
assert (this->peek (&status, sizeof(uint8_t))); // If this failed, buffer is corrupt, all hope is lost
|
||||
bool r = this->peek (&status, sizeof(uint8_t));
|
||||
assert (r); // If this failed, buffer is corrupt, all hope is lost
|
||||
|
||||
// Ignore event if it doesn't match channel filter
|
||||
if (is_channel_event(status) && get_channel_mode() == FilterChannels) {
|
||||
|
Loading…
Reference in New Issue
Block a user