diff options
author | Max Kellermann <max@duempel.org> | 2012-03-19 20:37:17 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-03-19 20:37:25 +0100 |
commit | 36827e11346cc3076e608ae5137afb0f7fb7c65a (patch) | |
tree | 1fd87cfc0d7d0a80f9a545715d3c657859dece1f /test/run_normalize.c | |
parent | 351ac4a2c0a6dfa0774e98d9b5a3d9db33e01274 (diff) | |
download | mpd-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 'test/run_normalize.c')
-rw-r--r-- | test/run_normalize.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/run_normalize.c b/test/run_normalize.c index d16ed60ea..fc26829ed 100644 --- a/test/run_normalize.c +++ b/test/run_normalize.c @@ -65,7 +65,8 @@ int main(int argc, char **argv) while ((nbytes = read(0, buffer, sizeof(buffer))) > 0) { Compressor_Process_int16(compressor, (int16_t *)buffer, nbytes / 2); - write(1, buffer, nbytes); + + G_GNUC_UNUSED ssize_t ignored = write(1, buffer, nbytes); } Compressor_delete(compressor); |