mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
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.
b836658a04
This commit is contained in:
@@ -4328,7 +4328,7 @@ skip:
|
||||
} \
|
||||
kv_push(preview_lines.subresults, current_match); \
|
||||
} \
|
||||
} while (0)
|
||||
} while (0)
|
||||
|
||||
// Push the match to preview_lines.
|
||||
PUSH_PREVIEW_LINES();
|
||||
@@ -4593,9 +4593,7 @@ void ex_global(exarg_T *eap)
|
||||
return;
|
||||
} else {
|
||||
delim = *cmd; // get the delimiter
|
||||
if (delim) {
|
||||
++cmd; // skip delimiter if there is one
|
||||
}
|
||||
cmd++; // skip delimiter if there is one
|
||||
pat = cmd; // remember start of pattern
|
||||
cmd = skip_regexp(cmd, delim, p_magic, &eap->arg);
|
||||
if (cmd[0] == delim) { // end delimiter found
|
||||
|
Reference in New Issue
Block a user