Skip to content

Commit

Permalink
wrap unused parameter with Q_UNUSED macro
Browse files Browse the repository at this point in the history
  • Loading branch information
FischLu authored and FischLu committed Nov 4, 2024
1 parent d679b97 commit ab2e203
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/osutils/macutils/AppKitImpl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ab2e203

Please sign in to comment.