Commit f88c66a4 authored by Drew's avatar Drew

Fix warnings

parent 3f4225e1
Pipeline #2822 passed with stages
in 2 minutes and 42 seconds
...@@ -169,12 +169,6 @@ extension CarolineTest { ...@@ -169,12 +169,6 @@ extension CarolineTest {
} }
private func cdump(_ t: Any) -> String { private func cdump(_ t: Any?) -> String {
if let t = t as? CustomDebugStringConvertible { return t.debugDescription
return t.debugDescription
}
else if let t = t as? CustomStringConvertible {
return t.description
}
return "\(t)"
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment