summaryrefslogtreecommitdiff
path: root/libc/signal/sigdelset.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-02-27 19:50:09 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-02-27 19:50:09 +0100
commitb4e091562671505b8cf23288b06001a46f5fa3ef (patch)
treef7de7c7315deffb29be25117fc5751dd7d808d2c /libc/signal/sigdelset.c
parentcb5af0bed860aac12b87b2044f6f519deded40f9 (diff)
libc: silence warning
include/bits/sigset.h:219:62: warning: right-hand operand of comma expression has no effect [-Wunused-value] include/bits/sigset.h:210:63: warning: right-hand operand of comma expression has no effect [-Wunused-value] Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/signal/sigdelset.c')
-rw-r--r--libc/signal/sigdelset.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/signal/sigdelset.c b/libc/signal/sigdelset.c
index de3b12ff0..9f3ab6659 100644
--- a/libc/signal/sigdelset.c
+++ b/libc/signal/sigdelset.c
@@ -29,6 +29,7 @@ int sigdelset (sigset_t *set, int signo)
return -1;
}
- return __sigdelset (set, signo);
+ __sigdelset (set, signo);
+ return 0;
}
libc_hidden_def(sigdelset)