Skip to content

Commit 52bfaa7

Browse files
author
David Ungar
authored
Merge pull request #406 from davidungar/tiny-cleanups
[NFC Incremental] Tiny cleanups
2 parents 3ebafec + 15e19ca commit 52bfaa7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Sources/SwiftDriver/Incremental Compilation/BuildRecord.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ extension BuildRecord {
162162
}
163163

164164
func encode() throws -> String {
165-
let pathsAndInfos = try inputInfos.map {
165+
let pathsAndInfos = inputInfos.map {
166166
input, inputInfo -> (String, InputInfo) in
167167
return (input.name, inputInfo)
168168
}

Sources/SwiftDriver/Incremental Compilation/BuildRecordInfo.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ struct JobResult {
183183
}
184184

185185
func jobFinished(job: Job, result: ProcessResult) {
186-
// REDUNDANT?
187186
finishedJobResults.append(JobResult(job, result))
188187
}
189188
}

0 commit comments

Comments
 (0)