From: Jason A. Donenfeld Date: Sat, 12 Oct 2019 20:20:30 +0000 (+0200) Subject: iOS: UI: abort is optimized out in release builds X-Git-Tag: 0.0.20191012-14~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80fa72cabcb7a1dc1aae8e7db44ca0e569befc4d;p=thirdparty%2Fwireguard-apple.git iOS: UI: abort is optimized out in release builds Signed-off-by: Jason A. Donenfeld --- 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() } }