mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
Merge pull request #12359 from akallabeth/win-fixes
Windows warning fixes
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
#include <freerdp/client/cmdline.h>
|
||||
#include <freerdp/client/channels.h>
|
||||
#include <freerdp/channels/channels.h>
|
||||
#include <freerdp/utils/signal.h>
|
||||
|
||||
#include "wf_gdi.h"
|
||||
#include "wf_rail.h"
|
||||
|
||||
@@ -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