Fix warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@4499 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
424b38790a
commit
e569121526
@ -84,7 +84,7 @@ midi_event_size(uint8_t* buffer)
|
||||
|
||||
if (status == MIDI_CMD_COMMON_SYSEX) {
|
||||
int end;
|
||||
for (end = 1; buffer[end] != MIDI_CMD_COMMON_SYSEX_END; end++);
|
||||
for (end = 1; buffer[end] != MIDI_CMD_COMMON_SYSEX_END; end++) {}
|
||||
assert(buffer[end] == MIDI_CMD_COMMON_SYSEX_END);
|
||||
return end + 1;
|
||||
} else {
|
||||
|
@ -75,7 +75,7 @@ public:
|
||||
sigc::signal<uint32_t, Time, EventType, uint32_t, const uint8_t*> writing;
|
||||
|
||||
virtual uint32_t write(Time time, EventType type, uint32_t size, const uint8_t* buf) {
|
||||
writing(time, type, size, buf);
|
||||
return writing(time, type, size, buf);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user