GPU: silence unused parameter warnings

This commit is contained in:
apocelipes
2025-11-16 05:06:32 +08:00
committed by Carter Li
parent d15bb8a232
commit 934905e63a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
}
+1 -1
View File
@@ -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
}