diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2022-06-04 00:27:57 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2022-06-04 00:27:57 +0000 |
commit | 6d419ff3e5a0e645e8fe9635d6ca139d5b7e3e7a (patch) | |
tree | 52f587327c9cfb6f4299b32747048f3660604d1b | |
parent | e0c38ba95a293b747acee203ead11933a44a4c59 (diff) | |
download | skalibs-6d419ff3e5a0e645e8fe9635d6ca139d5b7e3e7a.tar.xz |
Remove unused variable in generic selfpipe_trap
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r-- | src/libstddjb/selfpipe_trap.c | 1 |
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) ; |