diff options
author | ritsuka <[email protected]> | 2015-01-19 15:35:35 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-01-19 15:35:35 +0000 |
commit | 2e7330affab701fb1443fec449e2b04690b32e33 (patch) | |
tree | b00b4de54ca6c26d5ecb7c13b15f344292b00988 /macosx/HBDistributedArray.m | |
parent | ea82134f6199f79cb939781cb38dceaa1534dbc1 (diff) |
MacGui: enable and fix more compiler warnings in the Xcode project.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6772 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBDistributedArray.m')
-rw-r--r-- | macosx/HBDistributedArray.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/HBDistributedArray.m b/macosx/HBDistributedArray.m index c8b07ddcf..8dba9e5d1 100644 --- a/macosx/HBDistributedArray.m +++ b/macosx/HBDistributedArray.m @@ -195,20 +195,20 @@ NSString *HBDistributedArraWrittenToDisk = @"HBDistributedArraWrittenToDisk"; */ - (void)reload { - NSMutableArray *temp = nil;; + NSMutableArray *jobsArray = nil;; @try { - temp = [NSKeyedUnarchiver unarchiveObjectWithFile:self.fileURL.path]; + jobsArray = [NSKeyedUnarchiver unarchiveObjectWithFile:self.fileURL.path]; } @catch (NSException *exception) { - temp = nil; + jobsArray = nil; } // Swap the proxy objects representation with the new // one read from disk NSMutableArray *proxyArray = [NSMutableArray array]; - for (id anObject in temp) + for (id anObject in jobsArray) { NSString *uuid = [anObject uuid]; |