From d38895e5d83bda19e874a5b6618d8a0e0eff8d9c Mon Sep 17 00:00:00 2001 From: Oliver Jones Date: Fri, 30 Nov 2012 18:14:26 +1100 Subject: [PATCH] Fixes warning: enumeration value 'AFFinalBoundaryPhase' not explicitly handled in switch [-Werror,-Wswitch-enum] --- AFNetworking/AFHTTPClient.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AFNetworking/AFHTTPClient.m b/AFNetworking/AFHTTPClient.m index 28ee57e..2548253 100644 --- a/AFNetworking/AFHTTPClient.m +++ b/AFNetworking/AFHTTPClient.m @@ -1176,7 +1176,7 @@ typedef enum { [self.inputStream close]; _phase = AFFinalBoundaryPhase; break; - default: + case AFFinalBoundaryPhase: _phase = AFEncapsulationBoundaryPhase; break; }