commit | c024ed9233feac4c8da7394a62bb50474803514f | [log] [tgz] |
---|---|---|
author | zeertzjq <zeertzjq@outlook.com> | Tue Jan 04 16:22:52 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jan 04 16:22:52 2022 +0000 |
tree | 8bf4ce71bd65534566b8f27f71fce88cca83d9b1 | |
parent | 48824e952f7db8ca657fe20e66456fc19fca6815 [diff] [blame] |
patch 8.2.3999: redundant check for NUL byte Problem: Redundant check for NUL byte. Solution: Remove the check for a NUL byte. (closes #9471)
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index a0b9abf..7f2be49 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c
@@ -3897,7 +3897,7 @@ if (name == NULL) return; - while (*name != NUL && *name == ':') + while (*name == ':') name++; name = skip_range(name, TRUE, NULL);