From ab2e2037b97a2636d52682f41ab3f7d08df76790 Mon Sep 17 00:00:00 2001 From: FischLu Date: Mon, 4 Nov 2024 21:37:43 +0100 Subject: [PATCH] wrap unused parameter with Q_UNUSED macro --- src/gui/osutils/macutils/AppKitImpl.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/osutils/macutils/AppKitImpl.mm b/src/gui/osutils/macutils/AppKitImpl.mm index a71b19cc88..a2b30e5532 100644 --- a/src/gui/osutils/macutils/AppKitImpl.mm +++ b/src/gui/osutils/macutils/AppKitImpl.mm @@ -194,6 +194,7 @@ - (bool) enableScreenRecording // Attempt to use SCShareableContent to check for screen recording permission [SCShareableContent getShareableContentWithCompletionHandler:^(SCShareableContent * _Nullable content, NSError * _Nullable error) { + Q_UNUSED(error); if (content) { // Successfully obtained content, indicating permission is granted hasPermission = YES;