Skip to content

Commit 1cd87dc

Browse files
committed
GPU (Windows): silences a compiler warning [ci skip]
1 parent 1e58e04 commit 1cd87dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/detection/gpu/gpu_windows.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ const char* ffDetectGPUImpl(FF_MAYBE_UNUSED const FFGPUOptions* options, FFlist*
298298
if (options->driverSpecific && getDriverSpecificDetectionFn(gpu->vendor.chars, &detectFn, &dllName))
299299
{
300300
FF_DEBUG("Calling driver-specific detection function for vendor: %s, DLL: %s", gpu->vendor.chars, dllName);
301-
const char* error = detectFn(
301+
FF_MAYBE_UNUSED const char* error = detectFn(
302302
&(FFGpuDriverCondition) {
303303
.type = (deviceId > 0 ? FF_GPU_DRIVER_CONDITION_TYPE_DEVICE_ID : 0)
304304
| (adapterLuid > 0 ? FF_GPU_DRIVER_CONDITION_TYPE_LUID : 0)

0 commit comments

Comments
 (0)