Skip to content

Commit 81e7880

Browse files
Address SonarQube unused parameter findings
1 parent e234b51 commit 81e7880

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Sources/ScreenCursor/main.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ final class SettingsWindowController: NSWindowController {
297297
)
298298
}
299299

300-
required init?(coder: NSCoder) {
300+
required init?(coder _: NSCoder) {
301301
fatalError("init(coder:) has not been implemented")
302302
}
303303

@@ -492,7 +492,7 @@ final class AboutWindowController: NSWindowController {
492492
buildContent()
493493
}
494494

495-
required init?(coder: NSCoder) {
495+
required init?(coder _: NSCoder) {
496496
fatalError("init(coder:) has not been implemented")
497497
}
498498

@@ -560,7 +560,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
560560
private let settingsWindowController = SettingsWindowController()
561561
private let aboutWindowController = AboutWindowController()
562562

563-
func applicationDidFinishLaunching(_ notification: Notification) {
563+
func applicationDidFinishLaunching(_ _: Notification) {
564564
NSApp.setActivationPolicy(.accessory)
565565
configureStatusItem()
566566
overlayController.start()
@@ -600,7 +600,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate {
600600
aboutWindowController.show()
601601
}
602602

603-
@objc private func toggleHighlight(_ sender: NSMenuItem) {
603+
@objc private func toggleHighlight(_ _: NSMenuItem) {
604604
SettingsStore.shared.enabled.toggle()
605605
}
606606

0 commit comments

Comments
 (0)