Merge pull request #12359 from akallabeth/win-fixes

Windows warning fixes
This commit is contained in:
akallabeth
2026-02-24 09:59:03 +01:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

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

View File

@@ -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);
}
}