Skip to content

Commit

Permalink
Warning police
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Apr 17, 2013
1 parent c2f5a87 commit f86bf0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcore/repr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ use io::{Writer, WriterUtil};
use libc::c_void;
use managed;
use ptr;
#[cfg(stage0)] use sys;
use reflect;
use reflect::{MovePtr, align};
use sys;
use to_str::ToStr;
use vec::UnboxedVecRepr;
use vec::raw::{VecRepr, SliceRepr};
Expand Down Expand Up @@ -479,7 +479,7 @@ impl TyVisitor for ReprVisitor {
}

#[cfg(not(stage0))]
fn visit_enter_enum(&self, n_variants: uint,
fn visit_enter_enum(&self, _n_variants: uint,
get_disr: extern unsafe fn(ptr: *Opaque) -> int,
_sz: uint, _align: uint) -> bool {
let disr = unsafe { get_disr(transmute(self.ptr)) };
Expand Down

1 comment on commit f86bf0e

@catamorphism
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Please sign in to comment.