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

This commit is contained in:
Madeorsk 2023-07-15 19:08:42 +02:00
parent cade15a437
commit a98502b1bb
1 changed files with 1 additions and 1 deletions

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.