Skip to content

Commit

Permalink
Remove default case that will never be executed (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhuy authored and rahul-malik committed Sep 25, 2017
1 parent ad1aed3 commit 8d84d74
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sources/Core/ObjectiveCDictionaryExtension.swift
Expand Up @@ -118,9 +118,6 @@ extension ObjCFileRenderer {
return "[\(destArray) addObject:@(\(processObject))];"
case .enumT(.string):
return "[\(destArray) addObject:"+enumToStringMethodName(propertyName: param, className: self.className) + "(\(propIVarName))];"
default:
assert(false, "Array of oneOf is not possible")
return ""
}
}
let currentResult = "result\(counter)"
Expand Down

0 comments on commit 8d84d74

Please sign in to comment.