diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-01-04 16:22:52 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-04 16:22:52 +0000 |
commit | c024ed9233feac4c8da7394a62bb50474803514f (patch) | |
tree | 8bf4ce71bd65534566b8f27f71fce88cca83d9b1 /src | |
parent | 48824e952f7db8ca657fe20e66456fc19fca6815 (diff) |
patch 8.2.3999: redundant check for NUL bytev8.2.3999
Problem: Redundant check for NUL byte.
Solution: Remove the check for a NUL byte. (closes #9471)
Diffstat (limited to 'src')
-rw-r--r-- | src/ex_docmd.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index a0b9abf0fe..7f2be49080 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -3897,7 +3897,7 @@ f_fullcommand(typval_T *argvars, typval_T *rettv) if (name == NULL) return; - while (*name != NUL && *name == ':') + while (*name == ':') name++; name = skip_range(name, TRUE, NULL); diff --git a/src/version.c b/src/version.c index 4f40aab7ab..2c280aff36 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3999, +/**/ 3998, /**/ 3997, |