diff options
| author | bors <bors@rust-lang.org> | 2018-06-17 18:06:31 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-06-17 18:06:31 +0000 |
| commit | 2b973e653257f965e33a61b58c0eb7e863aed6c8 (patch) | |
| tree | b67886a1d40eb2be50395db7e49853b5ed20d129 /src/libstd/sys | |
| parent | 85a6cd9ab5829c0416c6c7e8e942e3bab8b4f3e5 (diff) | |
| parent | 8f0909c9792f01fff4ff8196194d99f59d7e3682 (diff) | |
| download | rust-2b973e653257f965e33a61b58c0eb7e863aed6c8.tar.gz rust-2b973e653257f965e33a61b58c0eb7e863aed6c8.zip | |
Auto merge of #51555 - ccesare:remove_unused_variables_redox_os, r=kennytm
Removed two unused variables in os.rs Issue #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.
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/redox/os.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libstd/sys/redox/os.rs b/src/libstd/sys/redox/os.rs index 480765b77a0..5822216779b 100644 --- a/src/libstd/sys/redox/os.rs +++ b/src/libstd/sys/redox/os.rs @@ -30,9 +30,6 @@ use sys_common::mutex::Mutex; use sys::{cvt, fd, syscall}; use vec; -const TMPBUF_SZ: usize = 128; -static ENV_LOCK: Mutex = Mutex::new(); - extern { #[link_name = "__errno_location"] fn errno_location() -> *mut i32; |
