Skip to content

Commit

Permalink
fix: jmpbuf initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
d3zd3z committed Jun 25, 2024
1 parent 928bff5 commit 6ff5422
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sim/mcuboot-sys/src/c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,8 @@ pub fn boot_go(multiflash: &mut SimMultiFlash, areadesc: &AreaDesc,
None => 0,
Some(ref c) => **c as libc::c_int
},
jumped: 0,
c_asserts: 0,
c_catch_asserts: if catch_asserts { 1 } else { 0 },
boot_jmpbuf: [0; 48],
.. Default::default()
};
let mut rsp = api::BootRsp {
br_hdr: std::ptr::null(),
Expand Down

0 comments on commit 6ff5422

Please sign in to comment.