Commit 4b4ac906 authored by Johannes Bruder's avatar Johannes Bruder Committed by David Brown
Browse files

Do not use an ASSERT to catch the case if no image is loaded

parent 5b39d3c7
Loading
Loading
Loading
Loading
−1
Changes for boot/bootutil/src/loader.c: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -1734,7 +1734,6 @@ boot_go(struct boot_rsp *rsp)

#ifdef MCUBOOT_VALIDATE_SLOT0
    rc = boot_validate_slot(0, NULL);
    ASSERT(rc == 0);
    if (rc != 0) {
        rc = BOOT_EBADIMAGE;
        goto out;