diff --git a/src/common/netif/netif_gnu.c b/src/common/netif/netif_gnu.c index be7ab896a..b829af9cd 100644 --- a/src/common/netif/netif_gnu.c +++ b/src/common/netif/netif_gnu.c @@ -9,7 +9,6 @@ bool ffNetifGetDefaultRouteImplV4(FFNetifDefaultRouteResult* result) { - // Based on netif_linux.c before 5e770dc8b019702ca458cc0cad46161ebec608a4 FILE* FF_AUTO_CLOSE_FILE netRoute = fopen("/proc/route", "r"); if (!netRoute) return false; @@ -31,5 +30,6 @@ bool ffNetifGetDefaultRouteImplV4(FFNetifDefaultRouteResult* result) bool ffNetifGetDefaultRouteImplV6(FFNetifDefaultRouteResult* result) { // TODO: AF_INET6 + FF_UNUSED(result); return false; } diff --git a/src/detection/cpu/cpu.h b/src/detection/cpu/cpu.h index bfdc43c0e..9c4d8d5ba 100644 --- a/src/detection/cpu/cpu.h +++ b/src/detection/cpu/cpu.h @@ -97,7 +97,7 @@ inline static void ffCPUDetectByCpuid(FFCPUResult* cpu) #else -inline static void ffCPUDetectByCpuid(FFCPUResult* cpu) +inline static void ffCPUDetectByCpuid(FF_MAYBE_UNUSED FFCPUResult* cpu) { // Unsupported platform }