fix warnings

This commit is contained in:
NikVolf
2019-07-17 17:01:15 +03:00
parent 2c173fee26
commit 026b0502bb
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -214,7 +214,7 @@ fn instrument_functions(ctx: &mut Context, module: &mut elements::Module) -> Res
for section in module.sections_mut() {
if let elements::Section::Code(ref mut code_section) = *section {
for func_body in code_section.bodies_mut() {
let mut opcodes = func_body.code_mut();
let opcodes = func_body.code_mut();
instrument_function(ctx, opcodes)?;
}
}