This is an automated email from Gerrit.

"Antonio Borneo <borneo.anto...@gmail.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9009

-- gerrit

commit 9be75f72e36d4a657d04646e5207804f35379bbe
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Sat Jun 28 01:24:34 2025 +0200

    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.anto...@gmail.com>

diff --git a/src/openocd.c b/src/openocd.c
index e63a9661a3..f3e1bee48e 100644
--- a/src/openocd.c
+++ b/src/openocd.c
@@ -75,20 +75,20 @@ static int log_target_callback_event_handler(struct target 
*target,
        void *priv)
 {
        switch (event) {
-               case TARGET_EVENT_GDB_START:
-                       target->verbose_halt_msg = false;
-                       break;
-               case TARGET_EVENT_GDB_END:
-                       target->verbose_halt_msg = true;
-                       break;
-               case TARGET_EVENT_HALTED:
-                       if (target->verbose_halt_msg) {
-                               /* do not display information when debugger 
caused the halt */
-                               target_arch_state(target);
-                       }
-                       break;
-               default:
-                       break;
+       case TARGET_EVENT_GDB_START:
+               target->verbose_halt_msg = false;
+               break;
+       case TARGET_EVENT_GDB_END:
+               target->verbose_halt_msg = true;
+               break;
+       case TARGET_EVENT_HALTED:
+               if (target->verbose_halt_msg) {
+                       /* do not display information when debugger caused the 
halt */
+                       target_arch_state(target);
+               }
+               break;
+       default:
+               break;
        }
 
        return ERROR_OK;

-- 

Reply via email to