summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--atomicio.c1
-rw-r--r--cli-runopts.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/atomicio.c b/atomicio.c
index 1915a7b..a061cbd 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 8d1edee..7c3a50c 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);