diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2022-11-01 21:21:03 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2022-11-22 12:22:22 +0000 |
commit | 0e9c6b1e32f5ef38286ff2e0774ba69caf2eee7b (patch) | |
tree | 4ff5616be7b9d0ad7a590d8c4018c43323620cc3 /src/main.c | |
parent | c301075386ff72d4b8e1672d8cdad2d815a9d4b0 (diff) |
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 <dan.scally@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |