vim-patch:9.1.1854: unnecessary code in optionstr.c (#36170)

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

fixes: vim/vim#18551
closes: vim/vim#18554

91959a797d

Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
This commit is contained in:
zeertzjq
2025-10-14 09:49:17 +08:00
committed by GitHub
parent b1b6234208
commit d78215f6a2

View File

@@ -987,10 +987,6 @@ const char *did_set_completeopt(optset_T *args FUNC_ATTR_UNUSED)
buf->b_cot_flags = 0;
}
if (opt_strings_flags(cot, opt_cot_values, NULL, true) != OK) {
return e_invarg;
}
if (opt_strings_flags(cot, opt_cot_values, flags, true) != OK) {
return e_invarg;
}