Fixing warnings triggered by -Weverything flag

Adding __attribute__((noreturn)) to networkRequestThreadEntryPoint
This commit is contained in:
Mattt Thompson 2012-10-01 10:43:12 -07:00
parent c4a876c70c
commit d933fe60e7

View file

@ -150,7 +150,7 @@ static inline BOOL AFStateTransitionIsValid(AFOperationState fromState, AFOperat
@synthesize redirectResponse = _redirectResponse; @synthesize redirectResponse = _redirectResponse;
@synthesize lock = _lock; @synthesize lock = _lock;
+ (void)networkRequestThreadEntryPoint:(id)__unused object { + (void) __attribute__((noreturn)) networkRequestThreadEntryPoint:(id)__unused object {
do { do {
@autoreleasepool { @autoreleasepool {
[[NSRunLoop currentRunLoop] run]; [[NSRunLoop currentRunLoop] run];