aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_convert.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-03-19 20:37:17 +0100
committerMax Kellermann <max@duempel.org>2012-03-19 20:37:25 +0100
commit36827e11346cc3076e608ae5137afb0f7fb7c65a (patch)
tree1fd87cfc0d7d0a80f9a545715d3c657859dece1f /test/run_convert.c
parent351ac4a2c0a6dfa0774e98d9b5a3d9db33e01274 (diff)
downloadmpd-36827e11346cc3076e608ae5137afb0f7fb7c65a.tar.gz
mpd-36827e11346cc3076e608ae5137afb0f7fb7c65a.tar.xz
mpd-36827e11346cc3076e608ae5137afb0f7fb7c65a.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 '')
-rw-r--r--test/run_convert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_convert.c b/test/run_convert.c
index 57a3a2f7f..bc95d959f 100644
--- a/test/run_convert.c
+++ b/test/run_convert.c
@@ -115,7 +115,7 @@ int main(int argc, char **argv)
return 2;
}
- write(1, output, length);
+ G_GNUC_UNUSED ssize_t ignored = write(1, output, length);
}
pcm_convert_deinit(&state);