Fix some warnings caused by the SM upgrade

This commit is contained in:
Michael Wu 2015-06-19 22:07:08 -04:00
parent e7808c526c
commit b7301ca06c
13 changed files with 16 additions and 19 deletions

View file

@ -1046,7 +1046,7 @@ impl<'a> NodeHelpers for &'a Node {
/// If the given untrusted node address represents a valid DOM node in the given runtime,
/// returns it.
#[allow(unsafe_code)]
pub fn from_untrusted_node_address(runtime: *mut JSRuntime, candidate: UntrustedNodeAddress)
pub fn from_untrusted_node_address(_runtime: *mut JSRuntime, candidate: UntrustedNodeAddress)
-> Root<Node> {
unsafe {
// https://github.com/servo/servo/issues/6383