mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Remove needless returns
This commit is contained in:
parent
2e02ea38fc
commit
e94df1ed5c
14 changed files with 38 additions and 38 deletions
|
@ -661,7 +661,7 @@ unsafe fn get_dom_class(obj: *mut JSObject) -> Result<DOMClass, ()> {
|
|||
return Ok(*dom_class);
|
||||
}
|
||||
debug!("not a dom object");
|
||||
return Err(());
|
||||
Err(())
|
||||
}
|
||||
|
||||
/// Get a `*const libc::c_void` for the given DOM object, unwrapping any
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue