From 3039c5452c9061cdf9a7e824af2c33cb30ad1937 Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 28 Feb 2019 17:43:55 +0100 Subject: Another fix for typeToString --- cpp/src/slice2swift/SwiftUtil.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'cpp/src/slice2swift/SwiftUtil.cpp') diff --git a/cpp/src/slice2swift/SwiftUtil.cpp b/cpp/src/slice2swift/SwiftUtil.cpp index 2c66616da49..a758d6b19f8 100644 --- a/cpp/src/slice2swift/SwiftUtil.cpp +++ b/cpp/src/slice2swift/SwiftUtil.cpp @@ -292,11 +292,6 @@ SwiftGenerator::typeToString(const TypePtr& type, const ContainedPtr& toplevel, { t = getUnqualified(getAbsoluteImpl(cont), currentModule); } - else - { - assert(false); - t = "???"; - } if(!nonnull && (optional || isNullableType(type))) { -- cgit v1.2.3