[gardening] Remove redundant nil-initialization of optional variable

From the Swift documentation:

"If you define an optional variable without providing a default value,
 the variable is automatically set to nil for you."
This commit is contained in:
practicalswift
2016-09-18 07:40:07 +02:00
parent 41c09f068b
commit fa7fbdb8b0
89 changed files with 137 additions and 137 deletions

View File

@@ -288,8 +288,8 @@ default:
// Optional patterns.
let op1 : Int? = nil
let op2 : Int?? = nil
let op1 : Int?
let op2 : Int??
switch op1 {
case nil: break