commit 6d419ff3e5a0e645e8fe9635d6ca139d5b7e3e7a
parent e0c38ba95a293b747acee203ead11933a44a4c59
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Sat, 4 Jun 2022 00:27:57 +0000
Remove unused variable in generic selfpipe_trap
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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) ;