diff --git a/usr.bin/indent/indent.c b/usr.bin/indent/indent.c index 17ba15ee288f..51d4ef393088 100644 --- a/usr.bin/indent/indent.c +++ b/usr.bin/indent/indent.c @@ -976,6 +976,7 @@ check_type: case structure: if (ps.p_l_follow > 0) goto copy_id; + /* FALLTHROUGH */ case decl: /* we have a declaration type (int, etc.) */ parse(decl); /* let parser worry about indentation */ if (ps.last_token == rparen && ps.tos <= 1) { @@ -1324,4 +1325,3 @@ indent_declaration(int cur_dec_ind, int tabs_to_var) ps.want_blank = false; } } - diff --git a/usr.bin/indent/parse.c b/usr.bin/indent/parse.c index 4fbd5328c6da..2df0c6b11617 100644 --- a/usr.bin/indent/parse.c +++ b/usr.bin/indent/parse.c @@ -132,6 +132,7 @@ parse(int tk) /* tk: the code for the construct scanned */ */ ps.i_l_follow = ps.il[ps.tos--]; /* the rest is the same as for dolit and forstmt */ + /* FALLTHROUGH */ case dolit: /* 'do' */ case forstmt: /* for (...) */ ps.p_stack[++ps.tos] = tk; @@ -371,4 +372,3 @@ reduce(void) } } } -