aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_decoder.c')
-rw-r--r--test/run_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_decoder.c b/test/run_decoder.c
index 0485f47d0..e6712c75b 100644
--- a/test/run_decoder.c
+++ b/test/run_decoder.c
@@ -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;
}