summaryrefslogtreecommitdiffstats
path: root/macosx/HBDistributedArray.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-19 15:35:35 +0000
committerritsuka <[email protected]>2015-01-19 15:35:35 +0000
commit2e7330affab701fb1443fec449e2b04690b32e33 (patch)
treeb00b4de54ca6c26d5ecb7c13b15f344292b00988 /macosx/HBDistributedArray.m
parentea82134f6199f79cb939781cb38dceaa1534dbc1 (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.m8
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];