Ignore:
Timestamp:
Feb 17, 2009, 4:00:53 AM (13 years ago)
Author:
livings124
Message:

assorted trivial cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r7892 r7894  
    14851485            continue;
    14861486       
    1487         NSInteger priority = tr_torrentGetFilePriority(fHandle, index);
     1487        const NSInteger priority = tr_torrentGetFilePriority(fHandle, index);
    14881488        if (priority == TR_PRI_LOW)
    14891489        {
     
    15141514- (NSDate *) dateAdded
    15151515{
    1516     time_t date = fStat->addedDate;
     1516    const time_t date = fStat->addedDate;
    15171517    return [NSDate dateWithTimeIntervalSince1970: date];
    15181518}
     
    15201520- (NSDate *) dateCompleted
    15211521{
    1522     time_t date = fStat->doneDate;
     1522    const time_t date = fStat->doneDate;
    15231523    return date != 0 ? [NSDate dateWithTimeIntervalSince1970: date] : nil;
    15241524}
     
    15261526- (NSDate *) dateActivity
    15271527{
    1528     time_t date = fStat->activityDate;
     1528    const time_t date = fStat->activityDate;
    15291529    return date != 0 ? [NSDate dateWithTimeIntervalSince1970: date] : nil;
    15301530}
Note: See TracChangeset for help on using the changeset viewer.