Fix unneeded return statement

This commit is contained in:
Brandon Fish
2018-12-08 00:27:36 -06:00
parent bd55552b4a
commit a9d95b42c5
3 changed files with 5 additions and 5 deletions

View File

@ -45,7 +45,7 @@ pub fn protect_codebuf(code_buf: &Vec<u8>) -> Result<(), String> {
)
} {
Err(err) => {
return Err(format!(
Err(format!(
"failed to give executable permission to code: {}",
err
))
@ -147,7 +147,7 @@ pub struct InstanceOptions {
extern "C" fn mock_fn() -> i32 {
debug!("CALLING MOCKED FUNC");
return 0;
0
}
#[allow(dead_code)]