From ded6a119b07b0e5c8a1159b0c2930fb05a77078e Mon Sep 17 00:00:00 2001 From: grialion <48643945+grialion@users.noreply.github.com> Date: Sat, 17 Jan 2026 12:43:45 +0100 Subject: [PATCH] fix: clang warnings --- src/signal_handler.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/signal_handler.c b/src/signal_handler.c index 281a5fa..ab3a85e 100644 --- a/src/signal_handler.c +++ b/src/signal_handler.c @@ -3,9 +3,10 @@ #include #include -static void handle_sigterm(int) { - signal(SIGTERM, SIG_IGN); +static void handle_sigterm(int sig) { + (void)sig; + (void)signal(SIGTERM, SIG_IGN); kill(-getpgrp(), SIGTERM); int status;