Brightness (macOS): silence compiler warnings

This commit is contained in:
李通洲
2023-08-21 09:38:20 +08:00
parent 7b6e157a4d
commit 159122eb98
+1 -1
View File
@@ -31,7 +31,7 @@ static const char* detectWithDisplayServices(const FFDisplayServerResult* displa
// https://github.com/waydabber/m1ddc
// Works for Apple Silicon and USB-C adapter connection ( but not HTMI )
static const char* detectWithDdcci(FFlist* result)
FF_MAYBE_UNUSED static const char* detectWithDdcci(FFlist* result)
{
if (!IOAVServiceCreate || !IOAVServiceReadI2C)
return "IOAVService is not available";