From 319ee2db9c0ce70d266c48b82969036fbbe3632b Mon Sep 17 00:00:00 2001 From: Stefan Rueger Date: Wed, 11 Jan 2023 17:34:18 +0000 Subject: [PATCH] Silence fall through warning in update.c --- src/update.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/update.c b/src/update.c index 0afcd9ea..ce4c2075 100644 --- a/src/update.c +++ b/src/update.c @@ -560,8 +560,9 @@ int do_op(const PROGRAMMER *pgm, const AVRPART *p, UPDATE *upd, enum updateflags pmsg_info("%d byte%s of %s%s written\n", fs.nbytes, update_plural(fs.nbytes), mem->desc, alias_mem_desc); - if (!(flags & UF_VERIFY)) // Fall through for auto verify unless -V was specified + if (!(flags & UF_VERIFY)) // Fall through for auto verify unless break; + // Fall through case DEVICE_VERIFY: // Verify that the in memory file is the same as what is on the chip