(trunk libT) remove an assertion from bitfield that doesn't always need to be true
This commit is contained in:
parent
d0aac9336b
commit
bcec22eeb6
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue