Skip to content

Remove more warnings. #6629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/libcore/rt/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ pub impl StackSegment {

/// Point to the low end of the allocated stack
fn start(&self) -> *uint {
unsafe {
vec::raw::to_ptr(self.buf) as *uint
}
vec::raw::to_ptr(self.buf) as *uint
}

/// Point one word beyond the high end of the allocated stack
Expand Down
3 changes: 0 additions & 3 deletions src/libcore/rt/uv/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ use vec;
use ptr;
use cast;
use str;
use option::*;
use str::raw::from_c_str;
use to_str::ToStr;
use libc::{c_void, c_int, size_t, malloc, free};
use cast::transmute;
use ptr::null;
Expand Down
1 change: 0 additions & 1 deletion src/libcore/rt/uv/uvio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use option::*;
use result::*;
use ops::Drop;
use old_iter::CopyableIter;
use cell::{Cell, empty_cell};
use cast::transmute;
use clone::Clone;
Expand Down
1 change: 0 additions & 1 deletion src/libcore/unstable/lang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ use libc::{c_char, c_uchar, c_void, size_t, uintptr_t, c_int, STDERR_FILENO};
use managed::raw::BoxRepr;
use str;
use sys;
use cast::transmute;
use rt::{context, OldTaskContext};
use rt::local_services::borrow_local_services;
use option::{Option, Some, None};
Expand Down