Skip to content

Commit

Permalink
Static Analyser macros bug fixed in NSInvocation+TCFInstanceBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarbarev committed Oct 21, 2014
1 parent 1fc7974 commit 4b5fc5a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/Factory/Internal/NSInvocation+TCFInstanceBuilder.m
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@ - (id)typhoon_resultOfInvokingOnAllocationForClass:(Class)aClass

#ifndef __clang_analyzer__
id firstlyCreatedInstance = [aClass alloc];
#endif

return [self typhoon_resultOfInvokingOn:firstlyCreatedInstance];
#else
return nil;
#endif
}


Expand Down

0 comments on commit 4b5fc5a

Please sign in to comment.