(trunk libT) dead code removal

This commit is contained in:
Charles Kerr 2009-07-03 19:45:29 +00:00
parent 8970fb14cb
commit 1104a4bf4d
1 changed files with 0 additions and 4 deletions

View File

@ -85,7 +85,6 @@ struct tr_openfile
{
tr_bool isCheckedOut;
tr_bool isWritable;
tr_bool closeWhenDone;
int torrentId;
char filename[MAX_PATH_LENGTH];
int fd;
@ -508,7 +507,6 @@ tr_fdFileCheckout( int torrentId,
dbgmsg( "checking out '%s' in slot %d", filename, winner );
o->torrentId = torrentId;
o->isCheckedOut = 1;
o->closeWhenDone = 0;
o->date = tr_date( );
tr_lockUnlock( gFd->lock );
return o->fd;
@ -529,8 +527,6 @@ tr_fdFileReturn( int fd )
dbgmsg( "releasing file '%s' in slot #%d", o->filename, i );
o->isCheckedOut = 0;
if( o->closeWhenDone )
TrCloseFile( i );
break;
}