Skip to content

Commit

Permalink
Re-enable deny warnings in clif backend
Browse files Browse the repository at this point in the history
  • Loading branch information
bjfish committed May 27, 2019
1 parent f42ca84 commit bf1cfc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/clif-backend/src/code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ impl ModuleCodeGenerator<CraneliftFunctionCodeGenerator, Caller, CodegenError>
// `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.
Expand Down
2 changes: 1 addition & 1 deletion lib/clif-backend/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![deny(unused_unsafe, unreachable_patterns)]
#![deny(unused_imports, unused_variables, unused_unsafe, unreachable_patterns)]

mod cache;
mod code;
Expand Down

0 comments on commit bf1cfc2

Please sign in to comment.