Skip to content

Commit

Permalink
remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
akirahrkw committed Jun 16, 2015
1 parent ff51c8a commit f799880
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ public struct OperatorFunctionWhitespaceRule: ASTRule {
return []
}
var violations = [StyleViolation]()
if let name = flatMap(dictionary["key.name"] as? String, { String($0) }),
let nameOffset = flatMap(dictionary["key.nameoffset"] as? Int64, { Int($0) }),
if let nameOffset = flatMap(dictionary["key.nameoffset"] as? Int64, { Int($0) }),
let nameLength = flatMap(dictionary["key.namelength"] as? Int64, { Int($0) }),
let offset = flatMap(dictionary["key.offset"] as? Int64, { Int($0) }) {

Expand Down

0 comments on commit f799880

Please sign in to comment.