Fix warning on onsigint function argument.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
cade15a437
commit
a98502b1bb
@ -10,7 +10,7 @@ bool interrupted = false;
|
|||||||
* Function launched on signal reception.
|
* Function launched on signal reception.
|
||||||
* @param signal - the received signal.
|
* @param signal - the received signal.
|
||||||
*/
|
*/
|
||||||
void onsigint(/*int signal*/)
|
void onsigint(__attribute__((unused)) int signal)
|
||||||
{
|
{
|
||||||
//if (signal == SIGINT)
|
//if (signal == SIGINT)
|
||||||
// the program is now interrupted.
|
// the program is now interrupted.
|
||||||
|
Loading…
Reference in New Issue
Block a user