]> git.lizzy.rs Git - rust.git/commitdiff
Remove accidental comment
authorAlan Somers <asomers@gmail.com>
Wed, 6 Apr 2016 05:40:59 +0000 (05:40 +0000)
committerAlan Somers <asomers@gmail.com>
Wed, 6 Apr 2016 05:40:59 +0000 (05:40 +0000)
src/libstd/sys/unix/thread.rs

index 4b0201cfd01f1b00fa8061961ab607dedd679205..cb34d1a5fbcd113b42a82bb8552b71764ea22960 100644 (file)
@@ -304,7 +304,6 @@ pub unsafe fn current() -> Option<usize> {
         #[cfg(not(target_os = "freebsd"))]
             let e = libc::pthread_getattr_np(libc::pthread_self(), &mut attr);
         if e == 0 {
-        //if libc::pthread_getattr_np(libc::pthread_self(), &mut attr) == 0 {
             let mut guardsize = 0;
             assert_eq!(libc::pthread_attr_getguardsize(&attr, &mut guardsize), 0);
             if guardsize == 0 {