From fd9ff28d5ab20b00fae5ab8a4782360059f8145b Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 28 Jun 2013 19:29:50 +0200 Subject: [PATCH] Remove unused variable --- src/librustpkg/path_util.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/librustpkg/path_util.rs b/src/librustpkg/path_util.rs index c0425b4d26064..f0a3f24c307bd 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] =