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:
dundargoc
2022-04-15 11:15:47 +02:00
committed by GitHub
parent 6160973f36
commit 4503cb6b64
4 changed files with 14 additions and 18 deletions

View File

@@ -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