mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[utils,signal] fix compiler warnings
This commit is contained in:
@@ -71,7 +71,7 @@ static BOOL register_handlers(const int* signals, size_t count, void (*handler)(
|
||||
|
||||
for (size_t x = 0; x < count; x++)
|
||||
{
|
||||
signal(signals[x], handler);
|
||||
(void)signal(signals[x], handler);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
@@ -83,7 +83,7 @@ static void unregister_handlers(const int* signals, size_t count)
|
||||
|
||||
for (size_t x = 0; x < count; x++)
|
||||
{
|
||||
signal(signals[x], SIG_IGN);
|
||||
(void)signal(signals[x], SIG_IGN);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user