From: Fabio Estevam Date: Tue, 12 Nov 2024 02:38:54 +0000 (-0300) Subject: tools: imx8image: Add missing break for CMD_DCD_SKIP X-Git-Url: http://git.dujemihanovic.xyz/projects?a=commitdiff_plain;h=3c417c79e0073b500e38a31c4e671894e23e2e34;p=u-boot.git tools: imx8image: Add missing break for CMD_DCD_SKIP The CMD_DCD_SKIP case misses a break statement. Add it. Fixes: 254c00803b63 ("tools: imx8image: add possibility to skip dcd") Addresses-Coverity-ID: 514648: Control flow issues (MISSING_BREAK) Signed-off-by: Fabio Estevam Reviewed-by: Heiko Schocher --- diff --git a/tools/imx8image.c b/tools/imx8image.c index 96ece28bd6..7a060811c7 100644 --- a/tools/imx8image.c +++ b/tools/imx8image.c @@ -93,6 +93,7 @@ static void parse_cfg_cmd(image_t *param_stack, int32_t cmd, char *token, case CMD_DCD_SKIP: if (!strncmp("true", token, 4)) dcd_skip = true; + break; case CMD_FUSE_VERSION: fuse_version = (uint8_t)(strtoll(token, NULL, 0) & 0xFF); break;