summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parse.c1
-rw-r--r--printf.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index 89a47b7..7f9ac9c 100644
--- a/parse.c
+++ b/parse.c
@@ -1829,6 +1829,7 @@ static struct expr *parse_perm(struct parser_state *state, int field, int arg2)
++mode;
break;
}
+ // Fallthrough
default:
expr->mode_cmp = MODE_EXACT;
break;
diff --git a/printf.c b/printf.c
index 0a969d8..c2b165e 100644
--- a/printf.c
+++ b/printf.c
@@ -590,6 +590,7 @@ struct bfs_printf *parse_bfs_printf(const char *format, struct cmdline *cmdline)
case '0':
case '+':
must_be_numeric = true;
+ // Fallthrough
case ' ':
case '-':
if (strchr(directive->str, c)) {