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

https://github.com/vim/vim/commit/91959a797d5017ee07b90c7516de91f40e11f048

Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
This commit is contained in:
zeertzjqandHirohito Higashi authored and GitHub committed 2025-10-14 01:49:17 +00:00
1 parent b1b6234208
commit d78215f6a2
1 file changed
-4
-4
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;
}