NetIO (BSD): fix compiling

This commit is contained in:
李通洲
2023-09-27 10:42:39 +08:00
parent 5e5c0b4a58
commit a7a8f2f461
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#include <iphlpapi.h>
bool ffNetifGetDefaultRouteImpl(char* iface/* unsupported */, uint32_t* ifIndex)
bool ffNetifGetDefaultRouteImpl(FF_MAYBE_UNUSED char* iface/* unsupported */, uint32_t* ifIndex)
{
ULONG size = 0;
if (GetIpForwardTable(NULL, &size, TRUE) != ERROR_INSUFFICIENT_BUFFER)