13
0

Fix warnings.

git-svn-id: svn://localhost/ardour2/branches/3.0@4499 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2009-02-07 07:22:25 +00:00
parent 424b38790a
commit e569121526
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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);
}
};