diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-03-28 13:54:28 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-03-29 18:29:25 -0400 |
commit | 375f957af65509bcf80c073362fae1d95bb32380 (patch) | |
tree | 9052916efcbf0efe9a3040b17091142ccff0aa6f /src/nvim/regexp.c | |
parent | 3dbcf69888b0f44c06b9ede3928fcd9d68f65739 (diff) | |
download | rneovim-375f957af65509bcf80c073362fae1d95bb32380.tar.gz rneovim-375f957af65509bcf80c073362fae1d95bb32380.tar.bz2 rneovim-375f957af65509bcf80c073362fae1d95bb32380.zip |
vim-patch:8.1.0989: various small code ugliness
Problem: Various small code ugliness.
Solution: Remove pointless NULL checks. Fix function calls. Fix typos.
(Dominique Pelle, closes vim/vim#4060)
https://github.com/vim/vim/commit/bdace838c67c1bd94e55e34270a8325933891466
Diffstat (limited to 'src/nvim/regexp.c')
-rw-r--r-- | src/nvim/regexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/regexp.c b/src/nvim/regexp.c index a2589ac431..8556757ddb 100644 --- a/src/nvim/regexp.c +++ b/src/nvim/regexp.c @@ -5895,7 +5895,7 @@ static void regdump(char_u *pattern, bt_regprog_T *r) fprintf(f, " count %" PRId64, (int64_t)OPERAND_MIN(s)); s += 4; } else if (op == RE_LNUM || op == RE_COL || op == RE_VCOL) { - /* one int plus comperator */ + // one int plus comparator fprintf(f, " count %" PRId64, (int64_t)OPERAND_MIN(s)); s += 5; } |