Skip to content

Commit

Permalink
Oops remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
multiplemonomials committed Dec 16, 2024
1 parent 6df38e5 commit 898aac9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions boot/bootutil/src/swap_scratch.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ boot_slots_compatible(struct boot_loader_state *state)
j = sz1 = secondary_slot_sz = 0;
smaller = 0;
while (i < num_sectors_primary || j < num_sectors_secondary) {
BOOT_LOG_DBG("i = %zu, j = %zu, sz0 = %zu, sz1 = %zu\n", i, j, primary_slot_sz, secondary_slot_sz);

// Make sure that the boot_img_sector_size() calls below don't access undefined memory.
if(i >= BOOT_MAX_IMG_SECTORS || j >= BOOT_MAX_IMG_SECTORS)
{
Expand Down

0 comments on commit 898aac9

Please sign in to comment.