diff --git a/lib/clif-backend/src/code.rs b/lib/clif-backend/src/code.rs index 303070282..3a4b48016 100644 --- a/lib/clif-backend/src/code.rs +++ b/lib/clif-backend/src/code.rs @@ -115,7 +115,7 @@ impl ModuleCodeGenerator // `environ`. The callback functions may need to insert things in the entry block. builder.ensure_inserted_ebb(); - let num_params = declare_wasm_parameters(&mut builder, entry_block); + declare_wasm_parameters(&mut builder, entry_block); // Set up the translation state with a single pushed control block representing the whole // function and its return values. diff --git a/lib/clif-backend/src/lib.rs b/lib/clif-backend/src/lib.rs index 82f67a39d..0ae4e9a59 100644 --- a/lib/clif-backend/src/lib.rs +++ b/lib/clif-backend/src/lib.rs @@ -1,4 +1,4 @@ -#![deny(unused_unsafe, unreachable_patterns)] +#![deny(unused_imports, unused_variables, unused_unsafe, unreachable_patterns)] mod cache; mod code;