[PATCH] fixup! treewide: use fallthrough pseudo keyword in switches

Jules Maselbas jmaselbas at zdiv.net
Fri Mar 14 14:18:30 PDT 2025


Signed-off-by: Jules Maselbas <jmaselbas at zdiv.net>
---
 commands/edit.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/commands/edit.c b/commands/edit.c
index eda277d218..fcf8ad90f5 100644
--- a/commands/edit.c
+++ b/commands/edit.c
@@ -453,6 +453,7 @@ static int read_modal_key(bool is_modal)
 			return CTL_CH('d');
 		if (c == 'Q')
 			return CTL_CH('c');
+		fallthrough;
 	default:
 		statusbar("ERROR: not implemented");
 		break;
-- 
2.48.1




More information about the barebox mailing list