remove a wrong bitwise negation
This commit is contained in:
parent
bc76256efb
commit
a676afafa5
@ -354,7 +354,7 @@ fn schedule_next_pthread_tls_dtor(
|
|||||||
state.last_key = Some(key);
|
state.last_key = Some(key);
|
||||||
trace!("Running TLS dtor {:?} on {:?} at {:?}", instance, ptr, active_thread);
|
trace!("Running TLS dtor {:?} on {:?} at {:?}", instance, ptr, active_thread);
|
||||||
assert!(
|
assert!(
|
||||||
!ptr.to_target_usize(this).unwrap() != 0,
|
ptr.to_target_usize(this).unwrap() != 0,
|
||||||
"data can't be NULL when dtor is called!"
|
"data can't be NULL when dtor is called!"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user