Suppress buggy Xcode warnings
@discardableResult annotations became suddenly ineffective.
This commit is contained in:
parent
7f748e6d1e
commit
fbc17877b1
|
@ -75,7 +75,7 @@ extension IntentDispatcher {
|
|||
}
|
||||
Task {
|
||||
do {
|
||||
try await vpnManager.connect(with: profileId)
|
||||
_ = try await vpnManager.connect(with: profileId)
|
||||
} catch {
|
||||
pp_log.error("Unable to connect with profile \(profileId): \(error)")
|
||||
}
|
||||
|
@ -104,7 +104,7 @@ extension IntentDispatcher {
|
|||
}
|
||||
Task {
|
||||
do {
|
||||
try await vpnManager.connect(with: profileId, toServer: newServerId)
|
||||
_ = try await vpnManager.connect(with: profileId, toServer: newServerId)
|
||||
} catch {
|
||||
pp_log.error("Unable to connect with profile \(profileId): \(error)")
|
||||
}
|
||||
|
|
|
@ -42,9 +42,9 @@ extension VPNManager {
|
|||
return
|
||||
}
|
||||
if let newServerId = newServerId {
|
||||
try await connect(with: profileId, toServer: newServerId)
|
||||
_ = try await connect(with: profileId, toServer: newServerId)
|
||||
} else {
|
||||
try await connect(with: profileId)
|
||||
_ = try await connect(with: profileId)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue