diff --git a/src/detection/codec/codec.c b/src/detection/codec/codec.c index 3bde2ef5f..c7b3c459f 100644 --- a/src/detection/codec/codec.c +++ b/src/detection/codec/codec.c @@ -5,7 +5,7 @@ const char* ffDetectCodec(FFCodecOptions* options, FFlist* result /*list of FFCo #ifdef FF_HAVE_VULKAN return ffDetectCodecVulkan(options, result); #else - FF_UNUSED(result); + FF_UNUSED(options, result); return "Fastfetch was built without Vulkan support"; #endif } diff --git a/src/detection/codec/codec_vulkan.c b/src/detection/codec/codec_vulkan.c index 4e7255505..8620851e9 100644 --- a/src/detection/codec/codec_vulkan.c +++ b/src/detection/codec/codec_vulkan.c @@ -260,8 +260,8 @@ const char* ffDetectCodecVulkan(FFCodecOptions* options, FFlist* result /*list o #else -const char* ffDetectCodecVulkan(FFlist* result) { - FF_UNUSED(result); +const char* ffDetectCodecVulkan(FFCodecOptions* options, FFlist* result) { + FF_UNUSED(options, result); return "Vulkan video queue extensions are not supported by this Vulkan implementation"; }