summaryrefslogtreecommitdiffstats
path: root/src/misc1.c
diff options
context:
space:
mode:
author=?UTF-8?q?Dundar=20G=C3=B6c?= <gocdundar@gmail.com>2022-04-14 20:43:56 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-14 20:43:56 +0100
commitb836658a04ee5456deca2ee523de9efe51252da3 (patch)
treed2cbeafd920a3ed6a81196788e83a8e708d99c48 /src/misc1.c
parenteca7c60d68e63001dbe3c8e5d240b0895e607fc3 (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/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 6dbad3fc73..af83c108b7 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -1576,7 +1576,7 @@ expand_env_esc(
c = (int)STRLEN(var);
// if var[] ends in a path separator and tail[] starts
// with it, skip a character
- if (*var != NUL && after_pathsep(dst, dst + c)
+ if (after_pathsep(dst, dst + c)
#if defined(BACKSLASH_IN_FILENAME) || defined(AMIGA)
&& dst[-1] != ':'
#endif