Skip to content

Commit 159122e

Browse files
committed
Brightness (macOS): silence compiler warnings
1 parent 7b6e157 commit 159122e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/brightness/brightness_apple.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static const char* detectWithDisplayServices(const FFDisplayServerResult* displa
3131

3232
// https://github.com/waydabber/m1ddc
3333
// Works for Apple Silicon and USB-C adapter connection ( but not HTMI )
34-
static const char* detectWithDdcci(FFlist* result)
34+
FF_MAYBE_UNUSED static const char* detectWithDdcci(FFlist* result)
3535
{
3636
if (!IOAVServiceCreate || !IOAVServiceReadI2C)
3737
return "IOAVService is not available";

0 commit comments

Comments
 (0)