File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010bool ffNetifGetDefaultRouteImplV4 (FFNetifDefaultRouteResult * result )
1111{
12- // Based on netif_linux.c before 5e770dc8b019702ca458cc0cad46161ebec608a4
1312 FILE * FF_AUTO_CLOSE_FILE netRoute = fopen ("/proc/route" , "r" );
1413
1514 if (!netRoute ) return false;
@@ -31,5 +30,6 @@ bool ffNetifGetDefaultRouteImplV4(FFNetifDefaultRouteResult* result)
3130bool ffNetifGetDefaultRouteImplV6 (FFNetifDefaultRouteResult * result )
3231{
3332 // TODO: AF_INET6
33+ FF_UNUSED (result );
3434 return false;
3535}
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ inline static void ffCPUDetectByCpuid(FFCPUResult* cpu)
9797
9898#else
9999
100- inline static void ffCPUDetectByCpuid (FFCPUResult * cpu )
100+ inline static void ffCPUDetectByCpuid (FF_MAYBE_UNUSED FFCPUResult * cpu )
101101{
102102 // Unsupported platform
103103}
You can’t perform that action at this time.
0 commit comments