diff options
| author | Jordi Boggiano <j.boggiano@seld.be> | 2013-06-28 19:29:50 +0200 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-06-29 01:00:13 -0400 |
| commit | a0c31ece9dba3665e0a44650ea492ae6f3e5604a (patch) | |
| tree | b14f379e3aadfeef24fc8395728bd6150c18cd56 | |
| parent | 28a3613a1da0f73da52b9becc7c0d973abdf122e (diff) | |
| download | rust-a0c31ece9dba3665e0a44650ea492ae6f3e5604a.tar.gz rust-a0c31ece9dba3665e0a44650ea492ae6f3e5604a.zip | |
Remove unused variable
| -rw-r--r-- | src/librustpkg/path_util.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustpkg/path_util.rs b/src/librustpkg/path_util.rs index c0425b4d260..f0a3f24c307 100644 --- a/src/librustpkg/path_util.rs +++ b/src/librustpkg/path_util.rs @@ -40,7 +40,6 @@ static path_entry_separator: &'static str = ":"; /// DIR/.rust for any DIR that's the current working directory /// or an ancestor of it pub fn rust_path() -> ~[Path] { - let env_path: ~str = os::getenv("RUST_PATH").get_or_default(~""); let mut env_rust_path: ~[Path] = match os::getenv("RUST_PATH") { Some(env_path) => { let env_path_components: ~[&str] = |
