Fix a few warnings.

This commit is contained in:
Dan Gohman
2017-08-28 17:17:41 -07:00
parent f905dc914b
commit 253f602a4c
2 changed files with 1 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ fn handle_module(flag_verbose: bool,
};
let mut dummy_runtime = DummyRuntime::new();
let translation = {
let mut runtime: &mut WasmRuntime = &mut dummy_runtime;
let runtime: &mut WasmRuntime = &mut dummy_runtime;
match translate_module(&data, runtime) {
Ok(x) => x,
Err(string) => {