File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ private let setup: () = {
262
262
default :
263
263
fatalError ( " Unexpected exit status: \( siginfo. si_code) " )
264
264
}
265
- if let status = status {
265
+ if let status {
266
266
let pid = siginfo. _sifields. _sigchld. si_pid
267
267
if let existing = continuations. removeValue ( forKey: pid) ,
268
268
case . continuation( let c) = existing {
Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ extension FileDescriptor {
404
404
continuation. resume ( throwing: POSIXError ( . init( rawValue: error) ?? . ENODEV) )
405
405
return
406
406
}
407
- if let data = data {
407
+ if let data {
408
408
buffer += Data ( data)
409
409
}
410
410
if done {
Original file line number Diff line number Diff line change @@ -1070,7 +1070,7 @@ extension FileDescriptor {
1070
1070
}
1071
1071
}
1072
1072
}
1073
- if let lastError = lastError {
1073
+ if let lastError {
1074
1074
continuation. resume ( throwing: CocoaError . windowsError (
1075
1075
underlying: lastError,
1076
1076
errorCode: . fileReadUnknown)
Original file line number Diff line number Diff line change @@ -123,15 +123,15 @@ extension Subprocess {
123
123
errorError = error // lolol
124
124
}
125
125
126
- if let inputError = inputError {
126
+ if let inputError {
127
127
throw inputError
128
128
}
129
129
130
- if let outputError = outputError {
130
+ if let outputError {
131
131
throw outputError
132
132
}
133
133
134
- if let errorError = errorError {
134
+ if let errorError {
135
135
throw errorError
136
136
}
137
137
}
@@ -165,13 +165,13 @@ extension Subprocess {
165
165
errorError = error
166
166
}
167
167
168
- if let inputError = inputError {
168
+ if let inputError {
169
169
throw inputError
170
170
}
171
- if let outputError = outputError {
171
+ if let outputError {
172
172
throw outputError
173
173
}
174
- if let errorError = errorError {
174
+ if let errorError {
175
175
throw errorError
176
176
}
177
177
}
You can’t perform that action at this time.
0 commit comments