mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
(trunk libT) remove the r9933 assertions and maybe fix Yada's bug
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user