From bf1cfc257800cca8a05cc1d1b6485aab06422d08 Mon Sep 17 00:00:00 2001 From: Brandon Fish Date: Sun, 26 May 2019 22:17:49 -0500 Subject: [PATCH] Re-enable deny warnings in clif backend --- lib/clif-backend/src/code.rs | 2 +- lib/clif-backend/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;