aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-10-12 22:20:30 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-10-12 22:20:37 +0200
commitd93b8af0751aaa11eebc1ce7b421faed0913ab86 (patch)
tree423360b022fff8d8f71a649b5ab6ebe1b7be3620
parentKeychain: make verification errors only happen when we're sure it's due to not found (diff)
downloadwireguard-apple-d93b8af0751aaa11eebc1ce7b421faed0913ab86.tar.xz
wireguard-apple-d93b8af0751aaa11eebc1ce7b421faed0913ab86.zip
iOS: UI: abort is optimized out in release builds
-rw-r--r--WireGuard/WireGuard/UI/iOS/ViewController/SettingsTableViewController.swift3
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 41e53b17..7f812d59 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()
}
}