aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_decoder.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 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;
}