Skip to content

Commit 934905e

Browse files
apocelipesCarterLi
authored andcommitted
GPU: silence unused parameter warnings
1 parent d15bb8a commit 934905e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/detection/gpu/gpu_drm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const char* ffDrmDetectAmdgpu(const FFGPUOptions* options, FFGPUResult* gpu, con
153153

154154
return NULL;
155155
#else
156-
FF_UNUSED(gpu, renderPath);
156+
FF_UNUSED(options, gpu, renderPath);
157157
return "Fastfetch is compiled without libdrm support";
158158
#endif
159159
}

src/detection/gpu/gpu_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ static const char* drmDetectAmdSpecific(const FFGPUOptions* options, FFGPUResult
120120
#endif
121121
}
122122
#else
123-
FF_UNUSED(gpu, drmKey, buffer);
123+
FF_UNUSED(options, gpu, drmKey, buffer);
124124
return "Fastfetch is not compiled with drm support";
125125
#endif
126126
}

0 commit comments

Comments
 (0)