remove unused functions tr_ioRemoveResume() and fastResumeRemove()

This commit is contained in:
Charles Kerr 2007-07-10 00:33:48 +00:00
parent 9c73ecbf63
commit 8d37a2601e
4 changed files with 0 additions and 21 deletions

View File

@ -404,15 +404,3 @@ fastResumeLoad( tr_torrent_t * tor,
return ret;
}
void
fastResumeRemove( tr_torrent_t * tor )
{
char file[MAX_PATH_LENGTH];
fastResumeFileName( file, sizeof file, tor, NULL != tor->handle->tag );
if ( unlink( file ) )
{
tr_inf( "Removing fast resume file failed" );
}
}

View File

@ -30,6 +30,4 @@ void fastResumeSave( const tr_torrent_t * tor );
int fastResumeLoad( tr_torrent_t * tor,
tr_bitfield_t * uncheckedPieces );
void fastResumeRemove( tr_torrent_t * tor );
#endif

View File

@ -303,12 +303,6 @@ tr_ioLoadResume( tr_torrent_t * tor )
return tr_ioCheckFiles ( tor, TR_RECHECK_FAST );
}
void tr_ioRemoveResume( tr_torrent_t * tor )
{
if( !tor->io )
fastResumeRemove( tor );
}
int
tr_ioHash( tr_io_t * io, int pieceIndex )
{

View File

@ -28,7 +28,6 @@
typedef struct tr_io_s tr_io_t;
int tr_ioLoadResume ( tr_torrent_t * );
void tr_ioRemoveResume( tr_torrent_t * );
enum