mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Mark some unused fields.
This commit is contained in:
parent
cfa9aaac08
commit
11aa36619d
5 changed files with 11 additions and 10 deletions
|
@ -950,9 +950,10 @@ pub struct cef_scheme_registrar {
|
||||||
// per unique |scheme_name| value. If |scheme_name| is already registered or
|
// per unique |scheme_name| value. If |scheme_name| is already registered or
|
||||||
// if an error occurs this function will return false (0).
|
// if an error occurs this function will return false (0).
|
||||||
///
|
///
|
||||||
add_custom_scheme: extern "C" fn(registrar: *mut cef_scheme_registrar,
|
_add_custom_scheme: extern "C" fn(registrar: *mut cef_scheme_registrar,
|
||||||
scheme_name: *cef_string_t,
|
scheme_name: *cef_string_t,
|
||||||
is_standard: c_int, is_local: c_int, is_display_isolated: c_int),
|
is_standard: c_int, is_local: c_int,
|
||||||
|
is_display_isolated: c_int),
|
||||||
}
|
}
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|
|
@ -37,7 +37,7 @@ fn fixed_to_float_ft(f: i32) -> f64 {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct FontTable {
|
pub struct FontTable {
|
||||||
bogus: ()
|
_bogus: ()
|
||||||
}
|
}
|
||||||
|
|
||||||
impl FontTableMethods for FontTable {
|
impl FontTableMethods for FontTable {
|
||||||
|
|
|
@ -76,7 +76,7 @@ impl FloatedBlockInfo {
|
||||||
/// The solutions for the heights-and-margins constraint equation.
|
/// The solutions for the heights-and-margins constraint equation.
|
||||||
struct HeightConstraintSolution {
|
struct HeightConstraintSolution {
|
||||||
top: Au,
|
top: Au,
|
||||||
bottom: Au,
|
_bottom: Au,
|
||||||
height: Au,
|
height: Au,
|
||||||
margin_top: Au,
|
margin_top: Au,
|
||||||
margin_bottom: Au
|
margin_bottom: Au
|
||||||
|
@ -87,7 +87,7 @@ impl HeightConstraintSolution {
|
||||||
-> HeightConstraintSolution {
|
-> HeightConstraintSolution {
|
||||||
HeightConstraintSolution {
|
HeightConstraintSolution {
|
||||||
top: top,
|
top: top,
|
||||||
bottom: bottom,
|
_bottom: bottom,
|
||||||
height: height,
|
height: height,
|
||||||
margin_top: margin_top,
|
margin_top: margin_top,
|
||||||
margin_bottom: margin_bottom,
|
margin_bottom: margin_bottom,
|
||||||
|
|
|
@ -38,7 +38,7 @@ pub struct FlowListIterator<'a> {
|
||||||
|
|
||||||
/// Double-ended mutable FlowList iterator
|
/// Double-ended mutable FlowList iterator
|
||||||
pub struct MutFlowListIterator<'a> {
|
pub struct MutFlowListIterator<'a> {
|
||||||
list: &'a mut FlowList,
|
_list: &'a mut FlowList,
|
||||||
head: Rawlink,
|
head: Rawlink,
|
||||||
nelem: uint,
|
nelem: uint,
|
||||||
}
|
}
|
||||||
|
@ -208,7 +208,7 @@ impl FlowList {
|
||||||
MutFlowListIterator {
|
MutFlowListIterator {
|
||||||
nelem: self.len(),
|
nelem: self.len(),
|
||||||
head: head_raw,
|
head: head_raw,
|
||||||
list: self
|
_list: self
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -109,7 +109,7 @@ pub fn WrapCallThisObject<T: Reflectable>(cx: *mut JSContext,
|
||||||
|
|
||||||
pub struct CallSetup {
|
pub struct CallSetup {
|
||||||
cx: *mut JSContext,
|
cx: *mut JSContext,
|
||||||
handling: ExceptionHandling
|
_handling: ExceptionHandling
|
||||||
}
|
}
|
||||||
|
|
||||||
impl CallSetup {
|
impl CallSetup {
|
||||||
|
@ -118,7 +118,7 @@ impl CallSetup {
|
||||||
let cx = win.deref().get_cx();
|
let cx = win.deref().get_cx();
|
||||||
CallSetup {
|
CallSetup {
|
||||||
cx: cx,
|
cx: cx,
|
||||||
handling: handling
|
_handling: handling
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue