Skip to content

Commit abc5eb9

Browse files
committed
Clear up a warning in a unit test. It seems that a change caused a now-unused local variable to become shadowed.
1 parent 51480a2 commit abc5eb9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Tests/TSCBasicTests/LockTests.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ class LockTests: XCTestCase {
5454
let fileA = tempDir.appending(component: "fileA")
5555
let fileB = tempDir.appending(component: "fileB")
5656

57-
let lock = FileLock(name: "lockfile", cachePath: tempDir)
58-
5957
let writerThreads = (0..<100).map { _ in
6058
return Thread {
6159
let lock = FileLock(name: "foo", cachePath: tempDir)

0 commit comments

Comments
 (0)