(trunk libT) remove dead code: tr_sessionSetLazyBitfieldEnabled(), tr_sessionIsLazyBitfieldEnabled()

This commit is contained in:
Jordan Lee 2011-03-21 16:33:16 +00:00
parent bb6684cb1e
commit bf4eb642dc
3 changed files with 0 additions and 25 deletions

View File

@ -2092,27 +2092,6 @@ tr_sessionGetCacheLimit_MB( const tr_session * session )
****
***/
void
tr_sessionSetLazyBitfieldEnabled( tr_session * session,
tr_bool enabled )
{
assert( tr_isSession( session ) );
session->useLazyBitfield = enabled != 0;
}
tr_bool
tr_sessionIsLazyBitfieldEnabled( const tr_session * session )
{
assert( tr_isSession( session ) );
return session->useLazyBitfield;
}
/***
****
***/
struct port_forwarding_data
{
tr_bool enabled;

View File

@ -101,7 +101,6 @@ struct tr_session
tr_bool isPrefetchEnabled;
tr_bool isTorrentDoneScriptEnabled;
tr_bool isClosed;
tr_bool useLazyBitfield;
tr_bool isIncompleteFileNamingEnabled;
tr_bool isRatioLimited;
tr_bool isIdleLimited;

View File

@ -585,9 +585,6 @@ void tr_sessionSetLPDEnabled( tr_session * session, tr_bool enabled );
void tr_sessionSetCacheLimit_MB( tr_session * session, int mb );
int tr_sessionGetCacheLimit_MB( const tr_session * session );
void tr_sessionSetLazyBitfieldEnabled( tr_session * session, tr_bool enabled );
tr_bool tr_sessionIsLazyBitfieldEnabled( const tr_session * session );
tr_encryption_mode tr_sessionGetEncryption( tr_session * session );
void tr_sessionSetEncryption( tr_session * session,
tr_encryption_mode mode );