Skip to content

Commit a0c31ec

Browse files
Seldaekthestinger
authored andcommitted
Remove unused variable
1 parent 28a3613 commit a0c31ec

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/librustpkg/path_util.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ static path_entry_separator: &'static str = ":";
4040
/// DIR/.rust for any DIR that's the current working directory
4141
/// or an ancestor of it
4242
pub fn rust_path() -> ~[Path] {
43-
let env_path: ~str = os::getenv("RUST_PATH").get_or_default(~"");
4443
let mut env_rust_path: ~[Path] = match os::getenv("RUST_PATH") {
4544
Some(env_path) => {
4645
let env_path_components: ~[&str] =

0 commit comments

Comments
 (0)