event_pipe, test: explicitly ignore write() return value
Some compilers are very picky, but we really aren't interested in the return value.
This commit is contained in:
@@ -128,7 +128,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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user