diff options
author | =?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com> | 2022-04-14 20:43:56 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-04-14 20:43:56 +0100 |
commit | b836658a04ee5456deca2ee523de9efe51252da3 (patch) | |
tree | d2cbeafd920a3ed6a81196788e83a8e708d99c48 /src/ex_cmds.c | |
parent | eca7c60d68e63001dbe3c8e5d240b0895e607fc3 (diff) |
patch 8.2.4750: small pieces of dead codev8.2.4750
Problem: Small pieces of dead code.
Solution: Remove the dead code. (Goc Dundar, closes #10190) Rename the
qftf_cb struct member to avoid confusion.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 50829be70b..9ea2fd6192 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -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 |