Skip to content

Commit 499e6c8

Browse files
committed
Battery (Windows): slilence compiler warnings
1 parent 0610faf commit 499e6c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/battery/battery_windows.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ static const char* detectWithSetupApi(FFBatteryOptions* options, FFlist* results
140140
return NULL;
141141
}
142142

143-
static const char* detectWithNtApi(FFBatteryOptions* options, FFlist* results)
143+
static const char* detectWithNtApi(FF_MAYBE_UNUSED FFBatteryOptions* options, FFlist* results)
144144
{
145145
SYSTEM_BATTERY_STATE info;
146146
if (NT_SUCCESS(NtPowerInformation(SystemBatteryState, NULL, 0, &info, sizeof(info))) && info.BatteryPresent)

0 commit comments

Comments
 (0)