diff --git a/src/detection/gpu/gpu_drm.c b/src/detection/gpu/gpu_drm.c index aee70ca4a..9304e6f16 100644 --- a/src/detection/gpu/gpu_drm.c +++ b/src/detection/gpu/gpu_drm.c @@ -153,7 +153,7 @@ const char* ffDrmDetectAmdgpu(const FFGPUOptions* options, FFGPUResult* gpu, con return NULL; #else - FF_UNUSED(gpu, renderPath); + FF_UNUSED(options, gpu, renderPath); return "Fastfetch is compiled without libdrm support"; #endif } diff --git a/src/detection/gpu/gpu_linux.c b/src/detection/gpu/gpu_linux.c index 6fad45f4c..fb28f7449 100644 --- a/src/detection/gpu/gpu_linux.c +++ b/src/detection/gpu/gpu_linux.c @@ -120,7 +120,7 @@ static const char* drmDetectAmdSpecific(const FFGPUOptions* options, FFGPUResult #endif } #else - FF_UNUSED(gpu, drmKey, buffer); + FF_UNUSED(options, gpu, drmKey, buffer); return "Fastfetch is not compiled with drm support"; #endif }