summaryrefslogtreecommitdiff
path: root/src/libstddjb/selfpipe_trap.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2022-06-04 00:27:57 +0000
committerLaurent Bercot <ska@appnovation.com>2022-06-04 00:27:57 +0000
commit6d419ff3e5a0e645e8fe9635d6ca139d5b7e3e7a (patch)
tree52f587327c9cfb6f4299b32747048f3660604d1b /src/libstddjb/selfpipe_trap.c
parente0c38ba95a293b747acee203ead11933a44a4c59 (diff)
downloadskalibs-6d419ff3e5a0e645e8fe9635d6ca139d5b7e3e7a.tar.xz
Remove unused variable in generic selfpipe_trap
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libstddjb/selfpipe_trap.c')
-rw-r--r--src/libstddjb/selfpipe_trap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstddjb/selfpipe_trap.c b/src/libstddjb/selfpipe_trap.c
index 6ff8f09..9970e8c 100644
--- a/src/libstddjb/selfpipe_trap.c
+++ b/src/libstddjb/selfpipe_trap.c
@@ -36,7 +36,6 @@ int selfpipe_trap (int sig)
int selfpipe_trap (int sig)
{
- sigset_t set ;
if (selfpipe_fd < 0) return (errno = EBADF, 0) ;
if (!sig_catch(sig, &selfpipe_tophalf)) return 0 ;
sigaddset(&selfpipe_caught, sig) ;