Changeset 3424


Ignore:
Timestamp:
Oct 15, 2007, 6:45:25 PM (15 years ago)
Author:
charles
Message:

remove dead code tr_file_stat::completionStatus

Location:
trunk/libtransmission
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/inout.c

    r3422 r3424  
    6868
    6969    tr_buildPath ( path, sizeof(path), tor->destination, file->name, NULL );
    70 
    71 fprintf( stderr, "readOrWriteBytes: [%s]\n", path );
    7270
    7371    if( !file->length )
  • trunk/libtransmission/torrent.c

    r3422 r3424  
    848848    {
    849849        const tr_file * file = tor->info.files + i;
    850         cp_status_t cp;
    851850
    852851        walk->bytesCompleted = fileBytesCompleted( tor, i );
     
    855854            ? walk->bytesCompleted / (float)file->length
    856855            : 1.0;
    857 
    858         if( walk->bytesCompleted >= file->length )
    859             cp = TR_CP_COMPLETE;
    860         else if( tor->info.files[i].dnd )
    861             cp = TR_CP_DONE;
    862         else
    863             cp = TR_CP_INCOMPLETE;
    864 
    865         walk->completionStatus = cp;
    866856    }
    867857
  • trunk/libtransmission/transmission.h

    r3422 r3424  
    698698    uint64_t bytesCompleted;
    699699    float progress;
    700     cp_status_t completionStatus;
    701700};
    702701
Note: See TracChangeset for help on using the changeset viewer.