Skip to content

Commit ac761f2

Browse files
1 parent c73cfb8 commit ac761f2

File tree

1 file changed

+2
-2
lines changed
  • library/std/src/sys/pal/unix

1 file changed

+2
-2
lines changed

library/std/src/sys/pal/unix/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ pub unsafe fn init(argc: isize, argv: *const *const u8, sigpipe: u8) {
6161
}
6262

6363
unsafe fn sanitize_standard_fds() {
64-
#[allow(dead_code)]
64+
#[allow(dead_code, unused_variables, unused_mut)]
6565
let mut opened_devnull = -1;
66-
#[allow(dead_code)]
66+
#[allow(dead_code, unused_variables, unused_mut)]
6767
let mut open_devnull = || {
6868
#[cfg(not(all(target_os = "linux", target_env = "gnu")))]
6969
use libc::open;

0 commit comments

Comments
 (0)