0
0
mirror of https://github.com/vim/vim.git synced 2025-10-15 07:14:09 -04:00

patch 9.1.1854: unnecessary code in optionstr.c

Problem:  unnecessary code in optionstr.c
Solution: Remove it (Hirohito Higashi)

fixes: #18551
closes: #18554

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Hirohito Higashi
2025-10-13 19:06:04 +00:00
committed by Christian Brabandt
parent 6622dc2ded
commit 91959a797d
2 changed files with 2 additions and 3 deletions

View File

@@ -1703,9 +1703,6 @@ did_set_completeopt(optset_T *args UNUSED)
// When using :set, clear the local flags.
curbuf->b_cot_flags = 0;
if (check_opt_strings(cot, p_cot_values, TRUE) != OK)
return e_invalid_argument;
if (opt_strings_flags(cot, p_cot_values, flags, TRUE) != OK)
return e_invalid_argument;

View File

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