From 1dba0d4830786ba17966a8d1397f07557e95bfd5 Mon Sep 17 00:00:00 2001
From: Francois Perrad <francois.perrad@gadz.org>
Date: Thu, 31 Dec 2015 18:36:34 +0100
Subject: [PATCH] add comment FALLTHROUGH which recognize by many lint tools

---
 atomicio.c    | 1 +
 cli-runopts.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/atomicio.c b/atomicio.c
index 1915a7bf..a061cbd8 100644
--- a/atomicio.c
+++ b/atomicio.c
@@ -53,6 +53,7 @@ atomicio(f, fd, _s, n)
 			if (errno == EINTR || errno == EAGAIN)
 #endif
 				continue;
+			/* FALLTHROUGH */
 		case 0:
 			return (res);
 		default:
diff --git a/cli-runopts.c b/cli-runopts.c
index 8d1edeeb..7c3a50cc 100644
--- a/cli-runopts.c
+++ b/cli-runopts.c
@@ -315,6 +315,7 @@ void cli_getopts(int argc, char ** argv) {
 					break;
 				case 'b':
 					next = &dummy;
+					/* FALLTHROUGH */
 				default:
 					fprintf(stderr,
 						"WARNING: Ignoring unknown option -%c\n", c);
-- 
GitLab