From 6d419ff3e5a0e645e8fe9635d6ca139d5b7e3e7a Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 4 Jun 2022 00:27:57 +0000 Subject: Remove unused variable in generic selfpipe_trap Signed-off-by: Laurent Bercot --- src/libstddjb/selfpipe_trap.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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) ; -- cgit v1.2.3