Skip to content
Browse files

Static analyzer fixes.

  • Loading branch information...
1 parent a192378 commit 740aa99a65731586794ccdcd6df47bc75d8e4023 Michael Fey committed Dec 12, 2011
View
1 TICoreDataSync/02 Primary Classes/Generic Operations/TICDSSynchronizationOperation.m
@@ -512,6 +512,7 @@ - (BOOL)beginApplyingSyncChangesInChangeSet:(TICDSSyncChangeSet *)aChangeSet
syncChanges = [self syncChangesAfterCheckingForConflicts:syncChanges];
NSSortDescriptor *sequenceSort = [[NSSortDescriptor alloc] initWithKey:@"changeType" ascending:YES];
syncChanges = [syncChanges sortedArrayUsingDescriptors:[NSArray arrayWithObject:sequenceSort]];
+ [sequenceSort release], sequenceSort = nil;
// Apply each object's changes in turn
for( TICDSSyncChange *eachChange in syncChanges ) {
View
2 TICoreDataSync/04 Utilities/TICDSChangeIntegrityStoreManager.h
@@ -13,7 +13,7 @@
NSMutableDictionary *_changeDictionary;
}
-+ (TICDSChangeIntegrityStoreManager *)sharedChangeIntegrityStoreManager;
++ (TICDSChangeIntegrityStoreManager *)sharedChangeIntegrityStoreManager NS_RETURNS_NOT_RETAINED;
+ (BOOL)containsDeletionRecordForObjectID:(NSManagedObjectID *)objectID;

0 comments on commit 740aa99

Please sign in to comment.
Something went wrong with that request. Please try again.