diff options
author | James McCoy <jamessan@jamessan.com> | 2017-05-12 12:01:07 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-05-12 17:07:25 -0400 |
commit | ad80a83a1aeda03cbc3cb19b2f1ebff8715ce042 (patch) | |
tree | 7f3d9666dcdfc95dfd6b0f01f17e00a81933e1bc /src | |
parent | 901c8fbcdb113173dd7e11adf35d193f6d4b3986 (diff) | |
download | rneovim-ad80a83a1aeda03cbc3cb19b2f1ebff8715ce042.tar.gz rneovim-ad80a83a1aeda03cbc3cb19b2f1ebff8715ce042.tar.bz2 rneovim-ad80a83a1aeda03cbc3cb19b2f1ebff8715ce042.zip |
lint
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/edit.c | 2 | ||||
-rw-r--r-- | src/nvim/ex_cmds.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index b8aa3167fe..bfdec90a32 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -4926,7 +4926,7 @@ static unsigned quote_meta(char_u *dest, char_u *src, int len) || ctrl_x_mode == CTRL_X_THESAURUS) break; // fallthrough - case '^': /* currently it's not needed. */ + case '^': // currently it's not needed. case '$': m++; if (dest != NULL) diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 60e2f99d6f..a528a65abb 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -4878,8 +4878,9 @@ void fix_help_buffer(void) continue; e1 = vim_strrchr(t1, '.'); e2 = vim_strrchr(path_tail(f2), '.'); - if (e1 == NULL || e2 == NULL) + if (e1 == NULL || e2 == NULL) { continue; + } if (fnamecmp(e1, ".txt") != 0 && fnamecmp(e1, fname + 4) != 0) { /* Not .txt and not .abx, remove it. */ @@ -5949,9 +5950,8 @@ void set_context_in_sign_cmd(expand_T *xp, char_u *arg) // :sign define {name} {args}... {last}= // | | // last p - if (p == NULL) - { - /* Expand last argument name (before equal sign). */ + if (p == NULL) { + // Expand last argument name (before equal sign). xp->xp_pattern = last; switch (cmd_idx) { |