mirror of
https://github.com/neovim/neovim.git
synced 2026-03-31 04:42:03 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user