(trunk libT) remove an assertion from bitfield that doesn't always need to be true

This commit is contained in:
Jordan Lee 2011-04-06 04:55:57 +00:00
parent d0aac9336b
commit bcec22eeb6
1 changed files with 0 additions and 1 deletions

View File

@ -170,7 +170,6 @@ tr_bitfieldGetRaw( const tr_bitfield * b, size_t * byte_count )
uint8_t * bits = tr_new0( uint8_t, n );
assert( b->bit_count > 0 );
assert( n >= b->alloc_count );
if( b->alloc_count )
memcpy( bits, b->bits, b->alloc_count );