Skip to content

Commit 01e0033

Browse files
committed
fixed warnings
1 parent 66f9a7d commit 01e0033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Docopt/LeafPattern.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func ==(lhs: LeafPattern, rhs: LeafPattern) -> Bool {
121121
} else if let lval = lhs.value as? Int, let rval = rhs.value as? Int {
122122
valEqual = lval == rval
123123
} else {
124-
valEqual = lhs.value as? AnyObject === rhs.value as? AnyObject
124+
valEqual = lhs.value as AnyObject === rhs.value as AnyObject
125125
}
126126
return lhs.name == rhs.name && valEqual
127127
}

0 commit comments

Comments
 (0)