diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2023-10-13 11:51:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-13 11:51:11 -0400 |
| commit | 02cbd978011ca0a8afe729ac67f7c00009d5ca0d (patch) | |
| tree | a43347ff1519213c9176d5ad5515ec3468f4eaad /lib/command_match.c | |
| parent | 4fa73b6572df03fd9df7ffddf279abbcf8ad6b9c (diff) | |
| parent | 7d67b9ff28d09de58c632f80ef7d330e45e698f6 (diff) | |
Merge pull request #14561 from idryzhov/implicit-fallthrough
build: add -Wimplicit-fallthrough
Diffstat (limited to 'lib/command_match.c')
| -rw-r--r-- | lib/command_match.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command_match.c b/lib/command_match.c index f740b72600..97e6aeb469 100644 --- a/lib/command_match.c +++ b/lib/command_match.c @@ -405,10 +405,10 @@ enum matcher_rv command_complete(struct graph *graph, vector vline, listnode_add(next, newstack); break; case partly_match: - trace_matcher("trivial_match\n"); + trace_matcher("partly_match\n"); if (exact_match_exists && !last_token) break; - /* fallthru */ + fallthrough; case exact_match: trace_matcher("exact_match\n"); if (last_token) { |
