mirror of
https://github.com/transmission/transmission
synced 2025-03-19 02:05:32 +00:00
(trunk libT) remove dead code: tr_sessionSetLazyBitfieldEnabled(), tr_sessionIsLazyBitfieldEnabled()
This commit is contained in:
parent
bb6684cb1e
commit
bf4eb642dc
3 changed files with 0 additions and 25 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue