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.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/9049
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
Antonio Borneo
2025-07-26 17:44:30 +02:00
parent cb526f0659
commit 6b7cc918f0

View File

@@ -2360,6 +2360,7 @@ static int cortex_a_write_cpu_memory(struct target *target,
count *= 2;
size = 2;
}
break;
case 0:
default:
break;