Changeset 12198


Ignore:
Timestamp:
Mar 21, 2011, 4:33:16 PM (11 years ago)
Author:
jordan
Message:

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

Location:
trunk/libtransmission
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.c

    r12194 r12198  
    20932093***/
    20942094
    2095 void
    2096 tr_sessionSetLazyBitfieldEnabled( tr_session * session,
    2097                                   tr_bool      enabled )
    2098 {
    2099     assert( tr_isSession( session ) );
    2100 
    2101     session->useLazyBitfield = enabled != 0;
    2102 }
    2103 
    2104 tr_bool
    2105 tr_sessionIsLazyBitfieldEnabled( const tr_session * session )
    2106 {
    2107     assert( tr_isSession( session ) );
    2108 
    2109     return session->useLazyBitfield;
    2110 }
    2111 
    2112 /***
    2113 ****
    2114 ***/
    2115 
    21162095struct port_forwarding_data
    21172096{
  • trunk/libtransmission/session.h

    r12183 r12198  
    102102    tr_bool                      isTorrentDoneScriptEnabled;
    103103    tr_bool                      isClosed;
    104     tr_bool                      useLazyBitfield;
    105104    tr_bool                      isIncompleteFileNamingEnabled;
    106105    tr_bool                      isRatioLimited;
  • trunk/libtransmission/transmission.h

    r12195 r12198  
    586586int      tr_sessionGetCacheLimit_MB( const tr_session * session );
    587587
    588 void     tr_sessionSetLazyBitfieldEnabled( tr_session * session, tr_bool enabled );
    589 tr_bool  tr_sessionIsLazyBitfieldEnabled( const tr_session * session );
    590 
    591588tr_encryption_mode tr_sessionGetEncryption( tr_session * session );
    592589void               tr_sessionSetEncryption( tr_session * session,
Note: See TracChangeset for help on using the changeset viewer.