Changeset 9461


Ignore:
Timestamp:
Oct 31, 2009, 2:49:59 AM (13 years ago)
Author:
livings124
Message:

Get rid of another warning

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.h

    r9348 r9461  
    140140
    141141- (NSString *) torrentLocation;
    142 #warning needed?
    143142- (NSString *) dataLocation;
    144143- (NSString *) fileLocation: (FileListNode *) node;
  • trunk/macosx/Torrent.m

    r9430 r9461  
    491491   
    492492    NSString * downloadFolder = [self currentDirectory], * volumeName;
    493     if (downloadFolder && (volumeName = [[[NSFileManager defaultManager] componentsToDisplayForPath: downloadFolder] objectAtIndex: 0]))
     493    if ((volumeName = [[[NSFileManager defaultManager] componentsToDisplayForPath: downloadFolder] objectAtIndex: 0]))
    494494    {
    495495        NSDictionary * systemAttributes = [[NSFileManager defaultManager] attributesOfFileSystemForPath: downloadFolder error: NULL];
     
    14071407            checkedNewLocation = YES;
    14081408           
    1409             if ([fTimeMachineExclude isEqualToString: newLocation])
     1409            if (newLocation && [fTimeMachineExclude isEqualToString: newLocation])
    14101410                return;
    14111411        }
Note: See TracChangeset for help on using the changeset viewer.