Remove needless returns

This commit is contained in:
Manish Goregaokar 2015-09-04 09:11:04 +05:30
parent 2e02ea38fc
commit e94df1ed5c
14 changed files with 38 additions and 38 deletions

View file

@ -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