This is an automated email from Gerrit. "zapb <[email protected]>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9058
-- gerrit commit cbefb0a208c40e730da67f8e01cae8d68d354a9c Author: Marc Schink <[email protected]> Date: Sun Jul 27 14:26:35 2025 +0200 target/stm8: Remove useless parentheses Parentheses are not necessary here, remove them. Change-Id: I793639fbef38688045104d351fb4e5320f1eba2a Signed-off-by: Marc Schink <[email protected]> diff --git a/src/target/stm8.c b/src/target/stm8.c index 655feca455..f29ca5927c 100644 --- a/src/target/stm8.c +++ b/src/target/stm8.c @@ -704,13 +704,13 @@ static int stm8_write_flash(struct target *target, enum mem_type type, int res; switch (type) { - case (FLASH): + case FLASH: stm8_unlock_flash(target); break; - case (EEPROM): + case EEPROM: stm8_unlock_eeprom(target); break; - case (OPTION): + case OPTION: stm8_unlock_eeprom(target); opt = OPT; break; --
