Skip to content

Commit e7e99d5

Browse files
committed
Fix build warning about unused variable 'hostOS'.
rdar://155898976
1 parent 4afd76b commit e7e99d5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Tests/SWBUtilTests/FSProxyTests.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,6 @@ import SWBTestSupport
466466
let fileAtts = try FileManager.default.attributesOfItem(atPath: filePath.str)
467467
let fileMgrModDate = try #require(fileAtts[FileAttributeKey.modificationDate] as? Date)
468468

469-
// not working on Windows for some reason
470-
let hostOS = try ProcessInfo.processInfo.hostOperatingSystem()
471469
#expect(fsModDate == fileMgrModDate)
472470
}
473471
}

0 commit comments

Comments
 (0)