(trunk libT) remove the r9933 assertions and maybe fix Yada's bug
This commit is contained in:
parent
e1005726a2
commit
bf08de36d9
|
@ -53,10 +53,7 @@ tr_bitsetReserve( tr_bitset * b, size_t size )
|
|||
tr_bitfieldDestruct( &b->bitfield );
|
||||
tr_bitfieldConstruct( &b->bitfield, size );
|
||||
|
||||
assert( b != NULL );
|
||||
assert( b->bitfield.bits != NULL );
|
||||
assert( tmp->bits != NULL );
|
||||
|
||||
if( ( tmp->bits != NULL ) && ( tmp->byteCount > 0 ) )
|
||||
memcpy( b->bitfield.bits, tmp->bits, tmp->byteCount );
|
||||
|
||||
tr_bitfieldFree( tmp );
|
||||
|
|
Loading…
Reference in New Issue