Skip to content

Commit f25bfb4

Browse files
committed
Eliminate compiler warning
Swift 5.2 surfaces this unused variable `v` during compilation. Let's get rid of the warning.
1 parent 9ed91cc commit f25bfb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Sources/FileCheck/FileCheck.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ private func check(
567567
if options.contains(.scopedVariables) {
568568
var localVariables = [String]()
569569
localVariables.reserveCapacity(16)
570-
for (k, v) in variableTable where !k.hasPrefix("$") {
570+
for k in variableTable.keys where !k.hasPrefix("$") {
571571
localVariables.append(k)
572572
}
573573

0 commit comments

Comments
 (0)