Remove unnecessary () values.

This commit is contained in:
Dan Gohman
2017-08-30 09:10:50 -07:00
parent 8647b10135
commit 0cc8bd06cd
2 changed files with 0 additions and 2 deletions

View File

@@ -72,7 +72,6 @@ impl<Variable> BlockData<Variable> {
&mut BlockData::EbbBody { .. } => panic!("you can't add a predecessor to a body block"), &mut BlockData::EbbBody { .. } => panic!("you can't add a predecessor to a body block"),
&mut BlockData::EbbHeader(ref mut data) => { &mut BlockData::EbbHeader(ref mut data) => {
data.predecessors.insert(pred, inst); data.predecessors.insert(pred, inst);
()
} }
} }
} }

View File

@@ -139,7 +139,6 @@ pub fn parse_export_section(parser: &mut Parser)
&ExternalKind::Function => { &ExternalKind::Function => {
exports.insert(index as FunctionIndex, exports.insert(index as FunctionIndex,
String::from(from_utf8(field).unwrap())); String::from(from_utf8(field).unwrap()));
()
} }
_ => (),//TODO: deal with other kind of exports _ => (),//TODO: deal with other kind of exports
} }