From: Jules Maselbas <jmaselbas@zdiv.net>
To: barebox@lists.infradead.org
Cc: Jules Maselbas <jmaselbas@zdiv.net>
Subject: [PATCH] fixup! treewide: use fallthrough pseudo keyword in switches
Date: Fri, 14 Mar 2025 22:18:30 +0100 [thread overview]
Message-ID: <20250314211830.24629-1-jmaselbas@zdiv.net> (raw)
In-Reply-To: <20250314205321.16898-1-jmaselbas@zdiv.net>
Signed-off-by: Jules Maselbas <jmaselbas@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
prev parent reply other threads:[~2025-03-14 21:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-14 20:53 [PATCH] " Jules Maselbas
2025-03-14 21:18 ` Jules Maselbas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250314211830.24629-1-jmaselbas@zdiv.net \
--to=jmaselbas@zdiv.net \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox