diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-07-20 15:50:02 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-07-20 15:50:02 +0100 |
commit | 0225ef68f2876bebd14977882db313fd7f3f6d64 (patch) | |
tree | dd950affa41b94682b7b50a81098a4634770e829 | |
parent | 23039af8427140bafa92dce3021c1f2a14bcfbad (diff) | |
download | pulseaudio-0225ef68f2876bebd14977882db313fd7f3f6d64.tar.gz |
memtrap: clarify that we are not interested in the return value of write()
-rw-r--r-- | src/pulsecore/memtrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/memtrap.c b/src/pulsecore/memtrap.c index 7d9174505..c647e5071 100644 --- a/src/pulsecore/memtrap.c +++ b/src/pulsecore/memtrap.c @@ -65,7 +65,7 @@ pa_bool_t pa_memtrap_is_good(pa_memtrap *m) { } static void sigsafe_error(const char *s) { - write(STDERR_FILENO, s, strlen(s)); + (void) write(STDERR_FILENO, s, strlen(s)); } static void signal_handler(int sig, siginfo_t* si, void *data) { |