mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.3999: redundant check for NUL byte
Problem: Redundant check for NUL byte.
Solution: Remove the check for a NUL byte. (closes vim/vim#9471)
c024ed9233
This commit is contained in:
parent
bfe11dc8d0
commit
30547c0d2b
@ -2897,7 +2897,7 @@ void f_fullcommand(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
return;
|
||||
}
|
||||
|
||||
while (*name != NUL && *name == ':') {
|
||||
while (*name == ':') {
|
||||
name++;
|
||||
}
|
||||
name = skip_range(name, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user