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/+/9049

-- gerrit

commit 959cc48f0e8d1da179e815dc41d142d9e220b5f0
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Sat Jul 26 17:44:30 2025 +0200

    target: cortex_a: add break in switch/case
    
    The code falls-through in the default case, making it not easy to
    read.
    
    Add the explicit break to improve the readability.
    
    Change-Id: I4784b883e0e82258de17018dfdfb59b4042ac743
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c
index 2ebbf65774..dca8da0061 100644
--- a/src/target/cortex_a.c
+++ b/src/target/cortex_a.c
@@ -2361,6 +2361,7 @@ static int cortex_a_write_cpu_memory(struct target 
*target,
                                        count *= 2;
                                        size = 2;
                                }
+                               break;
                        case 0:
                        default:
                                break;

-- 

Reply via email to