From a98502b1bb029d1e28380ff77a5b31c87d08f7bc Mon Sep 17 00:00:00 2001 From: Madeorsk Date: Sat, 15 Jul 2023 19:08:42 +0200 Subject: [PATCH] Fix warning on onsigint function argument. --- src/promises.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/promises.c b/src/promises.c index b76ce1f..7a84bf0 100644 --- a/src/promises.c +++ b/src/promises.c @@ -10,7 +10,7 @@ bool interrupted = false; * Function launched on signal reception. * @param signal - the received signal. */ -void onsigint(/*int signal*/) +void onsigint(__attribute__((unused)) int signal) { //if (signal == SIGINT) // the program is now interrupted.