Skip to content

Commit d795be3

Browse files
committed
update_flash_hwswap: remove dead code
F#3538
1 parent 9c57c27 commit d795be3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/update_flash_hwswap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void RAMFUNCTION wolfBoot_start(void)
5151
int update_v_raw = (int)wolfBoot_update_firmware_version();
5252
uint32_t boot_v = 0U;
5353
uint32_t update_v = 0U;
54-
uint32_t max_v = (boot_v > update_v) ? boot_v : update_v;
54+
uint32_t max_v;
5555

5656
if (boot_v_raw >= 0)
5757
boot_v = (uint32_t)boot_v_raw;

0 commit comments

Comments
 (0)