Changeset 10526


Ignore:
Timestamp:
Apr 24, 2010, 4:50:18 PM (8 years ago)
Author:
livings124
Message:

eliminate a warning

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r10522 r10526  
    982982    }
    983983   
    984     Torrent * torrent;
    985     if (!(torrent = [[Torrent alloc] initWithMagnetAddress: address location: nil lib: fLib]))
    986     {
    987         [self invalidOpenMagnetAlert: address];
    988         return;
    989     }
    990    
    991984    //determine download location
    992985    NSString * location = nil;
    993986    if ([fDefaults boolForKey: @"DownloadLocationConstant"])
    994987        location = [[fDefaults stringForKey: @"DownloadFolder"] stringByExpandingTildeInPath];
     988   
     989    Torrent * torrent;
     990    if (!(torrent = [[Torrent alloc] initWithMagnetAddress: address location: location lib: fLib]))
     991    {
     992        [self invalidOpenMagnetAlert: address];
     993        return;
     994    }
    995995   
    996996    //change the location if the group calls for it (this has to wait until after the torrent is created)
  • trunk/macosx/Torrent.m

    r10522 r10526  
    103103}
    104104
    105 #warning need location (and use it)?
    106105- (id) initWithMagnetAddress: (NSString *) address location: (NSString *) location lib: (tr_session *) lib
    107106{
Note: See TracChangeset for help on using the changeset viewer.