Fix warning on onsigint function argument.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Madeorsk 2023-07-15 19:08:42 +02:00
parent cade15a437
commit a98502b1bb

View File

@ -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.