diff options
author | Filippos Karapetis | 2011-01-15 09:43:02 +0000 |
---|---|---|
committer | Filippos Karapetis | 2011-01-15 09:43:02 +0000 |
commit | cc9f2944ede11bd9adf2633daab34f12500b8a6d (patch) | |
tree | 5084083d0fb20fd503194dbe711017e484da365c /backends | |
parent | 47d109a093f0df7db3947e051d3f097d41224eee (diff) | |
download | scummvm-rg350-cc9f2944ede11bd9adf2633daab34f12500b8a6d.tar.gz scummvm-rg350-cc9f2944ede11bd9adf2633daab34f12500b8a6d.tar.bz2 scummvm-rg350-cc9f2944ede11bd9adf2633daab34f12500b8a6d.zip |
MIDI: Fixed unnecessary casts of return values to void, reported in bug #3153076
svn-id: r55248
Diffstat (limited to 'backends')
-rw-r--r-- | backends/midi/seq.cpp | 4 | ||||
-rw-r--r-- | backends/midi/timidity.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/backends/midi/seq.cpp b/backends/midi/seq.cpp index c0098742d0..74a92257bc 100644 --- a/backends/midi/seq.cpp +++ b/backends/midi/seq.cpp @@ -147,7 +147,7 @@ void MidiDriver_SEQ::send(uint32 b) { warning("MidiDriver_SEQ::send: unknown : %08x", (int)b); break; } - (void)write(device, buf, position); + write(device, buf, position); } void MidiDriver_SEQ::sysEx (const byte *msg, uint16 length) { @@ -172,7 +172,7 @@ void MidiDriver_SEQ::sysEx (const byte *msg, uint16 length) { buf[position++] = _device_num; buf[position++] = 0; - (void)write(device, buf, position); + write(device, buf, position); } diff --git a/backends/midi/timidity.cpp b/backends/midi/timidity.cpp index d79a83809f..f0dd24bcbd 100644 --- a/backends/midi/timidity.cpp +++ b/backends/midi/timidity.cpp @@ -337,7 +337,7 @@ char *MidiDriver_TIMIDITY::timidity_ctl_command(const char *fmt, ...) { buff[len++] = '\n'; /* write command to control socket */ - (void)write(_control_fd, buff, len); + write(_control_fd, buff, len); } while (1) { |