Permalink
Browse files

Fixing warnings triggered by -Weverything flag

Adding __attribute__((noreturn)) to networkRequestThreadEntryPoint
  • Loading branch information...
mattt committed Oct 1, 2012
1 parent c4a876c commit d933fe60e769d89dad52bb137e2477acaa3d2de7
Showing with 1 addition and 1 deletion.
  1. +1 −1 AFNetworking/AFURLConnectionOperation.m
@@ -150,7 +150,7 @@ @implementation AFURLConnectionOperation
@synthesize redirectResponse = _redirectResponse;
@synthesize lock = _lock;
-+ (void)networkRequestThreadEntryPoint:(id)__unused object {
++ (void) __attribute__((noreturn)) networkRequestThreadEntryPoint:(id)__unused object {
do {
@autoreleasepool {
[[NSRunLoop currentRunLoop] run];

0 comments on commit d933fe6

Please sign in to comment.