# HG changeset patch # User Bram Moolenaar # Date 1641313804 -3600 # Node ID 33120321ff2cacb5443d1bb28b1440f5e24a650b # Parent 72987374e1e44d347f46c68124b5014ef87985da patch 8.2.3999: redundant check for NUL byte Commit: https://github.com/vim/vim/commit/c024ed9233feac4c8da7394a62bb50474803514f Author: zeertzjq Date: Tue Jan 4 16:22:52 2022 +0000 patch 8.2.3999: redundant check for NUL byte Problem: Redundant check for NUL byte. Solution: Remove the check for a NUL byte. (closes https://github.com/vim/vim/issues/9471) diff --git a/src/ex_docmd.c b/src/ex_docmd.c --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -3897,7 +3897,7 @@ f_fullcommand(typval_T *argvars, typval_ 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 --- 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,