(trunk libT) remove redundant assert()s

This commit is contained in:
Jordan Lee 2011-04-05 00:26:31 +00:00
parent 492d208dc8
commit c14b6bdf03
1 changed files with 0 additions and 3 deletions

View File

@ -303,15 +303,12 @@ tr_bitfieldSetRaw( tr_bitfield * b, const void * bits, size_t byte_count )
void
tr_bitfieldAdd( tr_bitfield * b, size_t nth )
{
assert( tr_bitfieldIsValid( b ) );
if( !tr_bitfieldHas( b, nth ) )
{
tr_bitfieldEnsureBitsAlloced( b, nth );
b->bits[nth >> 3u] |= ( 0x80 >> ( nth & 7u ) );
tr_bitfieldIncTrueCount( b, 1 );
}
assert( tr_bitfieldIsValid( b ) );
}
/* Sets bit range [begin, end) to 1 */