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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jules Maselbas <jmaselbas@xxxxxxxx>
---
 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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux