Skip to content

Commit 2d2e337

Browse files
committed
Remove warnings
1 parent f6a1abe commit 2d2e337

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Pro

Submodule Pro updated from b53b442 to 6b7c790

Tool/Sources/AppActivator/AppActivator.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ public extension NSWorkspace {
3131
Task { @MainActor in
3232
guard let app = XcodeInspector.shared.previousActiveApplication else { return }
3333
try await Task.sleep(nanoseconds: UInt64(delay * 1_000_000_000))
34-
app.activate()
34+
_ = app.activate()
3535
}
3636
}
3737

3838
static func activatePreviousActiveXcode(delay: TimeInterval = 0.2) {
3939
Task { @MainActor in
4040
guard let app = XcodeInspector.shared.latestActiveXcode else { return }
4141
try await Task.sleep(nanoseconds: UInt64(delay * 1_000_000_000))
42-
app.activate()
42+
_ = app.activate()
4343
}
4444
}
4545
}

Tool/Sources/FocusedCodeFinder/Swift/SwiftScopeHierarchySyntaxVisitor.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ final class SwiftScopeHierarchySyntaxVisitor: SyntaxVisitor {
5959

6060
// skip if possible
6161

62-
override func visit(_ node: MemberDeclBlockSyntax) -> SyntaxVisitorContinueKind {
62+
override func visit(_ node: MemberBlockSyntax) -> SyntaxVisitorContinueKind {
6363
skipChildrenIfPossible(node)
6464
}
6565

66-
override func visit(_ node: MemberDeclListItemSyntax) -> SyntaxVisitorContinueKind {
66+
override func visit(_ node: MemberBlockItemSyntax) -> SyntaxVisitorContinueKind {
6767
skipChildrenIfPossible(node)
6868
}
6969

0 commit comments

Comments
 (0)