Permalink
Browse files

Added local FSKeyedUnarchiver variable to fix compiler warning.

  • Loading branch information...
1 parent 7d763a5 commit e7514c0542b657bf6cdb9ca62846ba21ace7073a @mugginsoft committed Jan 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 FScriptFramework/FSSystem.m
@@ -277,8 +277,8 @@ - (id) load:(NSString *)fileName
{
@try
{
- unarchiver = [[[FSKeyedUnarchiver alloc] initForReadingWithData:data loaderEnvironmentSymbolTable:[executor symbolTable] symbolTableForCompiledCodeNode:nil] autorelease];
- r = [unarchiver decodeObjectForKey:@"root"];
+ FSKeyedUnarchiver * keyedUnarchiver = [[[FSKeyedUnarchiver alloc] initForReadingWithData:data loaderEnvironmentSymbolTable:[executor symbolTable] symbolTableForCompiledCodeNode:nil] autorelease];
+ r = [keyedUnarchiver decodeObjectForKey:@"root"];
}
@catch (id exception)
{

0 comments on commit e7514c0

Please sign in to comment.