Skip to content

Commit 4b4ac90

Browse files
jobrudd3zd3z
authored andcommitted
Do not use an ASSERT to catch the case if no image is loaded
Signed-off-by: Johannes Bruder <[email protected]>
1 parent 5b39d3c commit 4b4ac90

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

boot/bootutil/src/loader.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,6 @@ boot_go(struct boot_rsp *rsp)
17341734

17351735
#ifdef MCUBOOT_VALIDATE_SLOT0
17361736
rc = boot_validate_slot(0, NULL);
1737-
ASSERT(rc == 0);
17381737
if (rc != 0) {
17391738
rc = BOOT_EBADIMAGE;
17401739
goto out;

0 commit comments

Comments
 (0)