aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.rs
diff options
context:
space:
mode:
authorMichael Wu <mwu@mozilla.com>2015-06-19 22:07:08 -0400
committerMichael Wu <mwu@mozilla.com>2015-06-19 22:07:08 -0400
commitb7301ca06c892da4d38247b86e81edaa5181a969 (patch)
tree02fb4fc9b4f33987fd356507f761cfe14e721a2b /components/script/dom/node.rs
parente7808c526c348fea5e3b48af70b7f1a066652097 (diff)
downloadservo-b7301ca06c892da4d38247b86e81edaa5181a969.tar.gz
servo-b7301ca06c892da4d38247b86e81edaa5181a969.zip
Fix some warnings caused by the SM upgrade
Diffstat (limited to 'components/script/dom/node.rs')
-rw-r--r--components/script/dom/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/node.rs b/components/script/dom/node.rs
index 4393e6ddc09..9e2c56c8d22 100644
--- a/components/script/dom/node.rs
+++ b/components/script/dom/node.rs
@@ -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