From 0e9c6b1e32f5ef38286ff2e0774ba69caf2eee7b Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Tue, 1 Nov 2022 21:21:03 +0000 Subject: main/lib: mark unused variables Bringing in the meson infrastructure will enable extra warnings, including -Wunused... Directly reference the two locations that have known unused arguments. Reviewed-by: Daniel Scally Signed-off-by: Kieran Bingham --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index f0f71ba..14197eb 100644 --- a/src/main.c +++ b/src/main.c @@ -47,7 +47,7 @@ static void usage(const char *argv0) /* Necessary for and only used by signal handler. */ static struct events *sigint_events; -static void sigint_handler(int signal) +static void sigint_handler(int signal __attribute__((unused))) { /* Stop the main loop when the user presses CTRL-C */ events_stop(sigint_events); -- cgit v1.2.3