projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23039af
)
memtrap: clarify that we are not interested in the return value of write()
author
Lennart Poettering
<lennart@poettering.net>
Mon, 20 Jul 2009 14:50:02 +0000
(15:50 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 20 Jul 2009 14:50:02 +0000
(15:50 +0100)
src/pulsecore/memtrap.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/memtrap.c
b/src/pulsecore/memtrap.c
index
7d91745
..
c647e50
100644
(file)
--- 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) {