aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-04-15 11:15:47 +0200
committerGitHub <noreply@github.com>2022-04-15 17:15:47 +0800
commit4503cb6b642e0b1ba8157154af6a220387e607f0 (patch)
treeb2bff85b0fd4f6414bb9e6035b2573824033cc4f /src/nvim/option.c
parent6160973f36b532b6f9ff2cd7c20958fd791f2e2a (diff)
downloadrneovim-4503cb6b642e0b1ba8157154af6a220387e607f0.tar.gz
rneovim-4503cb6b642e0b1ba8157154af6a220387e607f0.tar.bz2
rneovim-4503cb6b642e0b1ba8157154af6a220387e607f0.zip
vim-patch:8.2.4750: small pieces of dead code (#18113)
Problem: Small pieces of dead code. Solution: Remove the dead code. (Goc Dundar, closes vim/vim#10190) Rename the qftf_cb struct member to avoid confusion. https://github.com/vim/vim/commit/b836658a04ee5456deca2ee523de9efe51252da3
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index f6037fc20a..83d56c01fe 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -2661,9 +2661,7 @@ ambw_end:
int x2 = -1;
int x3 = -1;
- if (*p != NUL) {
- p += utfc_ptr2len(p);
- }
+ p += utfc_ptr2len(p);
if (*p != NUL) {
x2 = *p++;
}