diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-11-01 15:39:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 07:39:49 -0700 |
commit | b05d1943f063c382ea96b76d250877bc58297314 (patch) | |
tree | a5f4ccbbaa27981a0135f201565b360b8ac31405 /src/nvim/quickfix.c | |
parent | 582c044dbe2b2bc4c74212b5ed8660c20fa1fd99 (diff) | |
download | rneovim-b05d1943f063c382ea96b76d250877bc58297314.tar.gz rneovim-b05d1943f063c382ea96b76d250877bc58297314.tar.bz2 rneovim-b05d1943f063c382ea96b76d250877bc58297314.zip |
build(lint): remove clint.py rules for braces #20880
Uncrustify is the source of truth where possible.
Remove any redundant checks from clint.py.
See also https://github.com/neovim/neovim/pull/18563
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 2e14f26861..acf9b881f8 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -337,8 +337,7 @@ static const size_t LINE_MAXLEN = 4096; static struct fmtpattern { char convchar; char *pattern; -} fmt_pat[FMT_PATTERNS] = -{ +} fmt_pat[FMT_PATTERNS] = { { 'f', ".\\+" }, // only used when at end { 'n', "\\d\\+" }, // 1 { 'l', "\\d\\+" }, // 2 @@ -7066,7 +7065,7 @@ static void hgr_search_in_rtp(qf_list_T *qfl, regmatch_T *p_regmatch, const char void ex_helpgrep(exarg_T *eap) { qf_info_T *qi = &ql_info; - char *au_name = NULL; + char *au_name = NULL; switch (eap->cmdidx) { case CMD_helpgrep: |