Skip to content

Commit 2b973e6

Browse files
committed
Auto merge of rust-lang#51555 - ccesare:remove_unused_variables_redox_os, r=kennytm
Removed two unused variables in os.rs Issue rust-lang#51419 suggested removing two unused variables in `libstd/sys/redox/os.rs`. This PR implements that change. It compiles for me locally, but I haven't run any other tests.
2 parents 85a6cd9 + 8f0909c commit 2b973e6

File tree

1 file changed

+0
-3
lines changed
  • src/libstd/sys/redox

1 file changed

+0
-3
lines changed

src/libstd/sys/redox/os.rs

-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ use sys_common::mutex::Mutex;
3030
use sys::{cvt, fd, syscall};
3131
use vec;
3232

33-
const TMPBUF_SZ: usize = 128;
34-
static ENV_LOCK: Mutex = Mutex::new();
35-
3633
extern {
3734
#[link_name = "__errno_location"]
3835
fn errno_location() -> *mut i32;

0 commit comments

Comments
 (0)