openocd: align switch and case statements

The coding style requires the 'case' to be at the same indentation
level of its 'switch' statement.

Align the code accordingly.

No changes are reported by
	git log -p -w --ignore-blank-lines --patience

Change-Id: I2a4c33f12506e898e1efbbfd711cc5834d81dda1
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/9009
Tested-by: jenkins
This commit is contained in:
Antonio Borneo
2025-06-28 01:24:34 +02:00
parent db79156fd5
commit d10c839596

View File

@@ -75,20 +75,20 @@ static int log_target_callback_event_handler(struct target *target,
void *priv) void *priv)
{ {
switch (event) { switch (event) {
case TARGET_EVENT_GDB_START: case TARGET_EVENT_GDB_START:
target->verbose_halt_msg = false; target->verbose_halt_msg = false;
break; break;
case TARGET_EVENT_GDB_END: case TARGET_EVENT_GDB_END:
target->verbose_halt_msg = true; target->verbose_halt_msg = true;
break; break;
case TARGET_EVENT_HALTED: case TARGET_EVENT_HALTED:
if (target->verbose_halt_msg) { if (target->verbose_halt_msg) {
/* do not display information when debugger caused the halt */ /* do not display information when debugger caused the halt */
target_arch_state(target); target_arch_state(target);
} }
break; break;
default: default:
break; break;
} }
return ERROR_OK; return ERROR_OK;