Remove unused variable

This commit is contained in:
Jordi Boggiano 2013-06-28 19:29:50 +02:00 committed by Daniel Micay
parent 28a3613a1d
commit a0c31ece9d

View File

@ -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] =