From d933fe60e769d89dad52bb137e2477acaa3d2de7 Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Mon, 1 Oct 2012 10:43:12 -0700 Subject: [PATCH] Fixing warnings triggered by -Weverything flag Adding __attribute__((noreturn)) to networkRequestThreadEntryPoint --- AFNetworking/AFURLConnectionOperation.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AFNetworking/AFURLConnectionOperation.m b/AFNetworking/AFURLConnectionOperation.m index a743e29..9f502f5 100644 --- a/AFNetworking/AFURLConnectionOperation.m +++ b/AFNetworking/AFURLConnectionOperation.m @@ -150,7 +150,7 @@ static inline BOOL AFStateTransitionIsValid(AFOperationState fromState, AFOperat @synthesize redirectResponse = _redirectResponse; @synthesize lock = _lock; -+ (void)networkRequestThreadEntryPoint:(id)__unused object { ++ (void) __attribute__((noreturn)) networkRequestThreadEntryPoint:(id)__unused object { do { @autoreleasepool { [[NSRunLoop currentRunLoop] run];