]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
iOS: UI: abort is optimized out in release builds
authorJason A. Donenfeld <Jason@zx2c4.com>
Sat, 12 Oct 2019 20:20:30 +0000 (22:20 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Sat, 12 Oct 2019 20:20:37 +0000 (22:20 +0200)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
WireGuard/WireGuard/UI/iOS/ViewController/SettingsTableViewController.swift

index 41e53b174eaf31c8cd1123d7c60b06359c5366f4..7f812d596b1063e7333f8a03dc889c702152136d 100644 (file)
@@ -178,8 +178,7 @@ extension SettingsTableViewController {
                 }
             }
             return cell
-        } else {
-            assert(false)
         }
+        fatalError()
     }
 }