Changeset 2315


Ignore:
Timestamp:
Jul 10, 2007, 12:33:48 AM (14 years ago)
Author:
charles
Message:

remove unused functions tr_ioRemoveResume() and fastResumeRemove()

Location:
trunk/libtransmission
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/fastresume.c

    r2202 r2315  
    405405    return ret;
    406406}
    407 
    408 void
    409 fastResumeRemove( tr_torrent_t * tor )
    410 {
    411     char file[MAX_PATH_LENGTH];
    412     fastResumeFileName( file, sizeof file, tor, NULL != tor->handle->tag );
    413    
    414     if ( unlink( file ) )
    415     {
    416         tr_inf( "Removing fast resume file failed" );
    417     }
    418 }
  • trunk/libtransmission/fastresume.h

    r2149 r2315  
    3131                    tr_bitfield_t  * uncheckedPieces );
    3232
    33 void fastResumeRemove( tr_torrent_t * tor );
    34 
    3533#endif
  • trunk/libtransmission/inout.c

    r2311 r2315  
    304304}
    305305
    306 void tr_ioRemoveResume( tr_torrent_t * tor )
    307 {
    308     if( !tor->io )
    309         fastResumeRemove( tor );
    310 }
    311 
    312306int
    313307tr_ioHash( tr_io_t * io, int pieceIndex )
  • trunk/libtransmission/inout.h

    r2202 r2315  
    2929
    3030int       tr_ioLoadResume  ( tr_torrent_t * );
    31 void      tr_ioRemoveResume( tr_torrent_t * );
    3231
    3332
Note: See TracChangeset for help on using the changeset viewer.