FileAlias.m
changeset 35 5cab3034d3a1
parent 16 ce9c83f7ec14
     1.1 --- a/FileAlias.m	Sun Jul 13 10:45:42 2008 -0700
     1.2 +++ b/FileAlias.m	Wed Sep 02 08:41:25 2009 -0700
     1.3 @@ -33,7 +33,7 @@
     1.4          }
     1.5          
     1.6          if( ! CheckOSErr(err,error) ) {
     1.7 -            Warn(@"FileAlias init failed with OSStatus %i",err);
     1.8 +            Warn(@"FileAlias init failed with OSStatus %i for %@",err,targetPath);
     1.9              [self release];
    1.10              return nil;
    1.11          }
    1.12 @@ -74,7 +74,7 @@
    1.13  
    1.14      self = [super init];
    1.15      if( self ) {
    1.16 -        Handle handle;
    1.17 +        Handle handle = NULL;
    1.18          unsigned length;
    1.19          const void *bytes = [arch decodeBytesForKey:@"aliasHandle" returnedLength: &length];
    1.20          if( bytes )