diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-10-12 22:20:30 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-10-12 22:20:37 +0200 |
commit | 80fa72cabcb7a1dc1aae8e7db44ca0e569befc4d (patch) | |
tree | 423360b022fff8d8f71a649b5ab6ebe1b7be3620 | |
parent | Keychain: make verification errors only happen when we're sure it's due to not found (diff) | |
download | wireguard-apple-80fa72cabcb7a1dc1aae8e7db44ca0e569befc4d.tar.xz wireguard-apple-80fa72cabcb7a1dc1aae8e7db44ca0e569befc4d.zip |
iOS: UI: abort is optimized out in release builds
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/ViewController/SettingsTableViewController.swift | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/ViewController/SettingsTableViewController.swift b/WireGuard/WireGuard/UI/iOS/ViewController/SettingsTableViewController.swift index 41e53b1..7f812d5 100644 --- a/WireGuard/WireGuard/UI/iOS/ViewController/SettingsTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/ViewController/SettingsTableViewController.swift @@ -178,8 +178,7 @@ extension SettingsTableViewController { } } return cell - } else { - assert(false) } + fatalError() } } |