about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJordi Boggiano <j.boggiano@seld.be>2013-06-28 19:29:50 +0200
committerDaniel Micay <danielmicay@gmail.com>2013-06-29 01:00:13 -0400
commita0c31ece9dba3665e0a44650ea492ae6f3e5604a (patch)
treeb14f379e3aadfeef24fc8395728bd6150c18cd56
parent28a3613a1da0f73da52b9becc7c0d973abdf122e (diff)
downloadrust-a0c31ece9dba3665e0a44650ea492ae6f3e5604a.tar.gz
rust-a0c31ece9dba3665e0a44650ea492ae6f3e5604a.zip
Remove unused variable
-rw-r--r--src/librustpkg/path_util.rs1
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] =