Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 270212a

Browse files
committed
Fixed warnings in XCode 7.1
1 parent 120fd14 commit 270212a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

VeriJSON/VeriJSON.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class VeriJSON {
6868

6969

7070
switch value {
71-
case let value as NSNull:
71+
case _ as NSNull:
7272
return permitNull
7373
case let value as NSDictionary:
7474
if let pattern = pattern as? NSDictionary {
@@ -179,7 +179,7 @@ public class VeriJSON {
179179
}
180180

181181
} else if "bool" == pattern {
182-
if let value = value as? NSNumber {
182+
if let _ = value as? NSNumber {
183183
valid = true
184184
} else {
185185
valid = false

0 commit comments

Comments
 (0)