[gardening] Remove redundant nil-initialization of optional variables

This commit is contained in:
practicalswift
2016-09-25 18:53:13 +02:00
parent e693e13a05
commit a75ce9b45f
2 changed files with 2 additions and 2 deletions

View File

@@ -1022,7 +1022,7 @@ extension String {
orthography: NSOrthography? = nil,
tokenRanges: UnsafeMutablePointer<[Range<Index>]>? = nil // FIXME:Can this be nil?
) -> [String] {
var nsTokenRanges: NSArray? = nil
var nsTokenRanges: NSArray?
let result = tokenRanges._withNilOrAddress(of: &nsTokenRanges) {
self._ns.linguisticTags(
in: _toNSRange(range), scheme: tagScheme, options: opts,