diff --git a/src/components/embedding/types.rs b/src/components/embedding/types.rs index a4f538a6bba..c01e1ec0cf1 100644 --- a/src/components/embedding/types.rs +++ b/src/components/embedding/types.rs @@ -950,9 +950,10 @@ pub struct cef_scheme_registrar { // per unique |scheme_name| value. If |scheme_name| is already registered or // if an error occurs this function will return false (0). /// - add_custom_scheme: extern "C" fn(registrar: *mut cef_scheme_registrar, - scheme_name: *cef_string_t, - is_standard: c_int, is_local: c_int, is_display_isolated: c_int), + _add_custom_scheme: extern "C" fn(registrar: *mut cef_scheme_registrar, + scheme_name: *cef_string_t, + is_standard: c_int, is_local: c_int, + is_display_isolated: c_int), } /// diff --git a/src/components/gfx/platform/linux/font.rs b/src/components/gfx/platform/linux/font.rs index e61d092ae07..1299315ade2 100644 --- a/src/components/gfx/platform/linux/font.rs +++ b/src/components/gfx/platform/linux/font.rs @@ -37,7 +37,7 @@ fn fixed_to_float_ft(f: i32) -> f64 { } pub struct FontTable { - bogus: () + _bogus: () } impl FontTableMethods for FontTable { diff --git a/src/components/layout/block.rs b/src/components/layout/block.rs index 5e0b4a23670..36b525924a7 100644 --- a/src/components/layout/block.rs +++ b/src/components/layout/block.rs @@ -76,7 +76,7 @@ impl FloatedBlockInfo { /// The solutions for the heights-and-margins constraint equation. struct HeightConstraintSolution { top: Au, - bottom: Au, + _bottom: Au, height: Au, margin_top: Au, margin_bottom: Au @@ -87,7 +87,7 @@ impl HeightConstraintSolution { -> HeightConstraintSolution { HeightConstraintSolution { top: top, - bottom: bottom, + _bottom: bottom, height: height, margin_top: margin_top, margin_bottom: margin_bottom, diff --git a/src/components/layout/flow_list.rs b/src/components/layout/flow_list.rs index 1bb30572da9..19ccb68727e 100644 --- a/src/components/layout/flow_list.rs +++ b/src/components/layout/flow_list.rs @@ -38,7 +38,7 @@ pub struct FlowListIterator<'a> { /// Double-ended mutable FlowList iterator pub struct MutFlowListIterator<'a> { - list: &'a mut FlowList, + _list: &'a mut FlowList, head: Rawlink, nelem: uint, } @@ -208,7 +208,7 @@ impl FlowList { MutFlowListIterator { nelem: self.len(), head: head_raw, - list: self + _list: self } } } diff --git a/src/components/script/dom/bindings/callback.rs b/src/components/script/dom/bindings/callback.rs index 7a261bf7cc7..8b0c1879dd3 100644 --- a/src/components/script/dom/bindings/callback.rs +++ b/src/components/script/dom/bindings/callback.rs @@ -109,7 +109,7 @@ pub fn WrapCallThisObject(cx: *mut JSContext, pub struct CallSetup { cx: *mut JSContext, - handling: ExceptionHandling + _handling: ExceptionHandling } impl CallSetup { @@ -118,7 +118,7 @@ impl CallSetup { let cx = win.deref().get_cx(); CallSetup { cx: cx, - handling: handling + _handling: handling } }