diff options
author | Max Kellermann <max@duempel.org> | 2012-03-19 20:37:17 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-03-19 23:26:47 +0100 |
commit | 79eb7623efb3105094dcb77f8688e39b8288155e (patch) | |
tree | 85657479c22e498f908b10cb01b8df18b6911370 /test/run_decoder.c | |
parent | b9e64d04720cc114aa405a86332b7cb1321db8c6 (diff) | |
download | mpd-79eb7623efb3105094dcb77f8688e39b8288155e.tar.gz mpd-79eb7623efb3105094dcb77f8688e39b8288155e.tar.xz mpd-79eb7623efb3105094dcb77f8688e39b8288155e.zip |
event_pipe, test: explicitly ignore write() return value
Some compilers are very picky, but we really aren't interested in the
return value.
Diffstat (limited to 'test/run_decoder.c')
-rw-r--r-- | test/run_decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_decoder.c b/test/run_decoder.c index 4199f3c32..154b47324 100644 --- a/test/run_decoder.c +++ b/test/run_decoder.c @@ -126,7 +126,7 @@ decoder_data(G_GNUC_UNUSED struct decoder *decoder, const void *data, size_t datalen, G_GNUC_UNUSED uint16_t kbit_rate) { - write(1, data, datalen); + G_GNUC_UNUSED ssize_t nbytes = write(1, data, datalen); return DECODE_COMMAND_NONE; } |