Skip to content

Commit 5a2d17c

Browse files
committed
Remove unused variable
1 parent 2cdc850 commit 5a2d17c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tool/Sources/XcodeInspector/Apps/XcodeAppInstanceInspector.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ private func isCompletionPanel(_ element: AXUIElement) -> Bool {
408408
guard let group = element.firstChild(where: { $0.role == "AXGroup" }),
409409
let scrollArea = group.firstChild(where: { $0.role == "AXScrollArea" }),
410410
let list = scrollArea.firstChild(where: { $0.role == "AXOpaqueProviderGroup" }),
411-
let completion = list.children.first(where: { $0.value == "code completion" })
411+
let _ = list.children.first(where: { $0.value == "code completion" })
412412
else { return false }
413413
return true
414414
}()

0 commit comments

Comments
 (0)