0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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)
This commit is contained in:
zeertzjq 2022-01-04 16:22:52 +00:00 committed by Bram Moolenaar
parent 48824e952f
commit c024ed9233
2 changed files with 3 additions and 1 deletions

View File

@ -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);

View File

@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3999,
/**/
3998,
/**/