File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
10
10
bool ffNetifGetDefaultRouteImplV4 (FFNetifDefaultRouteResult * result )
11
11
{
12
- // Based on netif_linux.c before 5e770dc8b019702ca458cc0cad46161ebec608a4
13
12
FILE * FF_AUTO_CLOSE_FILE netRoute = fopen ("/proc/route" , "r" );
14
13
15
14
if (!netRoute ) return false;
@@ -31,5 +30,6 @@ bool ffNetifGetDefaultRouteImplV4(FFNetifDefaultRouteResult* result)
31
30
bool ffNetifGetDefaultRouteImplV6 (FFNetifDefaultRouteResult * result )
32
31
{
33
32
// TODO: AF_INET6
33
+ FF_UNUSED (result );
34
34
return false;
35
35
}
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ inline static void ffCPUDetectByCpuid(FFCPUResult* cpu)
97
97
98
98
#else
99
99
100
- inline static void ffCPUDetectByCpuid (FFCPUResult * cpu )
100
+ inline static void ffCPUDetectByCpuid (FF_MAYBE_UNUSED FFCPUResult * cpu )
101
101
{
102
102
// Unsupported platform
103
103
}
You can’t perform that action at this time.
0 commit comments