(trunk libT) remove the r9933 assertions and maybe fix Yada's bug

This commit is contained in:
Charles Kerr 2010-01-15 00:20:48 +00:00
parent e1005726a2
commit bf08de36d9
1 changed files with 2 additions and 5 deletions

View File

@ -53,11 +53,8 @@ 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 );
memcpy( b->bitfield.bits, tmp->bits, tmp->byteCount );
if( ( tmp->bits != NULL ) && ( tmp->byteCount > 0 ) )
memcpy( b->bitfield.bits, tmp->bits, tmp->byteCount );
tr_bitfieldFree( tmp );
}