mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-01-12 22:51:50 +08:00
Fix static analyzer warning about uninitialized success variable in RKMappingTest
This commit is contained in:
@@ -197,7 +197,7 @@ NSString * const RKMappingTestVerificationFailureException = @"RKMappingTestVeri
|
||||
|
||||
- (BOOL)event:(RKMappingTestEvent *)event satisfiesExpectation:(id)expectation error:(NSError **)error
|
||||
{
|
||||
BOOL success;
|
||||
BOOL success = NO;
|
||||
|
||||
NSDictionary *userInfo = @{ RKMappingTestEventErrorKey : event,
|
||||
RKMappingTestExpectationErrorKey : expectation };
|
||||
|
||||
Reference in New Issue
Block a user