Fix warn in overwrite-only with slot0 validation

Signed-off-by: Fabio Utzig <utzig@apache.org>
This commit is contained in:
Fabio Utzig 2018-01-10 15:00:42 -02:00 committed by David Brown
parent 891f4fb023
commit f70e302617
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
static struct boot_loader_state boot_data;
#ifdef MCUBOOT_VALIDATE_SLOT0
#if defined(MCUBOOT_VALIDATE_SLOT0) && !defined(MCUBOOT_OVERWRITE_ONLY)
static int boot_status_fails = 0;
#define BOOT_STATUS_ASSERT(x) \
do { \