mirror of
https://github.com/openocd-org/openocd.git
synced 2025-10-14 02:58:23 +08:00
xsvf: 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: I24762505cdac22058e0a2a1f4e9235c9006e543d Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/9048 Tested-by: jenkins Reviewed-by: zapb <dev@zapb.de>
This commit is contained in:
@@ -347,7 +347,6 @@ COMMAND_HANDLER(handle_xsvf_command)
|
||||
switch (opcode) {
|
||||
case XCOMPLETE:
|
||||
LOG_DEBUG("XCOMPLETE");
|
||||
|
||||
result = jtag_execute_queue();
|
||||
if (result != ERROR_OK)
|
||||
tdo_mismatch = 1;
|
||||
@@ -605,7 +604,6 @@ COMMAND_HANDLER(handle_xsvf_command)
|
||||
break;
|
||||
|
||||
case XENDIR:
|
||||
|
||||
if (read(xsvf_fd, &uc, 1) < 0) {
|
||||
do_abort = 1;
|
||||
break;
|
||||
@@ -626,7 +624,6 @@ COMMAND_HANDLER(handle_xsvf_command)
|
||||
break;
|
||||
|
||||
case XENDDR:
|
||||
|
||||
if (read(xsvf_fd, &uc, 1) < 0) {
|
||||
do_abort = 1;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user