From 6fd188a3f7f95eba13c528e45a5b96fe60b67e59 Mon Sep 17 00:00:00 2001 From: Brandon Fish Date: Sat, 8 Dec 2018 00:31:49 -0600 Subject: [PATCH] Fix clippy unused variable: `instance` --- src/apis/emscripten/env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apis/emscripten/env.rs b/src/apis/emscripten/env.rs index cd4e8db4b..bdda128bc 100644 --- a/src/apis/emscripten/env.rs +++ b/src/apis/emscripten/env.rs @@ -111,7 +111,7 @@ pub extern "C" fn ___build_environment(environ: c_int) { debug!("emscripten::___build_environment {}", environ); } -pub extern "C" fn _sysconf(name: c_int, instance: &mut Instance) -> c_long { +pub extern "C" fn _sysconf(name: c_int, _instance: &mut Instance) -> c_long { debug!("emscripten::_sysconf {}", name); // TODO: Implement like emscripten expects regarding memory/page size unsafe {