Chore: silense compiler warnings

This commit is contained in:
李通洲
2025-08-25 09:25:25 +08:00
parent a80ea2b117
commit 588c4c0026
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -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
}