0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.4750: small pieces of dead code

Problem:    Small pieces of dead code.
Solution:   Remove the dead code. (Goc Dundar, closes #10190) Rename the
            qftf_cb struct member to avoid confusion.
This commit is contained in:
=?UTF-8?q?Dundar=20G=C3=B6c?=
2022-04-14 20:43:56 +01:00
committed by Bram Moolenaar
parent eca7c60d68
commit b836658a04
5 changed files with 18 additions and 18 deletions

View File

@@ -4960,8 +4960,7 @@ ex_global(exarg_T *eap)
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_ex(cmd, delim, magic_isset(), &eap->arg, NULL, NULL);
if (cmd[0] == delim) // end delimiter found