We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e9ffb8 commit 78ea972Copy full SHA for 78ea972
src/libstd/sys/unix/thread.rs
@@ -304,7 +304,6 @@ pub mod guard {
304
#[cfg(not(target_os = "freebsd"))]
305
let e = libc::pthread_getattr_np(libc::pthread_self(), &mut attr);
306
if e == 0 {
307
- //if libc::pthread_getattr_np(libc::pthread_self(), &mut attr) == 0 {
308
let mut guardsize = 0;
309
assert_eq!(libc::pthread_attr_getguardsize(&attr, &mut guardsize), 0);
310
if guardsize == 0 {
0 commit comments