From 80fa72cabcb7a1dc1aae8e7db44ca0e569befc4d Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 12 Oct 2019 22:20:30 +0200 Subject: [PATCH] iOS: UI: abort is optimized out in release builds Signed-off-by: Jason A. Donenfeld --- .../UI/iOS/ViewController/SettingsTableViewController.swift | 3 +-- 1 file changed, 1 insertion(+), 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() } }