浏览代码

Removed redundant switch case

svoit 7 年之前
父节点
当前提交
e6c674ed84
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      AFNetworking/AFSecurityPolicy.m

+ 1 - 1
AFNetworking/AFSecurityPolicy.m

@@ -287,7 +287,7 @@ static NSArray * AFPublicKeyTrustChainForServerTrust(SecTrustRef serverTrust) {
             }
             return trustedPublicKeyCount > 0;
         }
-        case AFSSLPinningModeNone:
+            
         default:
             return NO;
     }