mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +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
|
||||
// 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),
|
||||
}
|
||||
|
||||
///
|
||||
|
|
|
@ -37,7 +37,7 @@ fn fixed_to_float_ft(f: i32) -> f64 {
|
|||
}
|
||||
|
||||
pub struct FontTable {
|
||||
bogus: ()
|
||||
_bogus: ()
|
||||
}
|
||||
|
||||
impl FontTableMethods for FontTable {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -109,7 +109,7 @@ pub fn WrapCallThisObject<T: Reflectable>(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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue