Ignore:
Timestamp:
Feb 21, 2011, 3:43:41 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) remove unused code: tr_bitfieldIsEmpty()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bitfield.c

    r12006 r12007  
    5050{
    5151    memset( bitfield->bits, 0, bitfield->byteCount );
    52 }
    53 
    54 int
    55 tr_bitfieldIsEmpty( const tr_bitfield * bitfield )
    56 {
    57     size_t i;
    58 
    59     for( i = 0; i < bitfield->byteCount; ++i )
    60         if( bitfield->bits[i] )
    61             return 0;
    62 
    63     return 1;
    6452}
    6553
Note: See TracChangeset for help on using the changeset viewer.