mirror of
https://github.com/neovim/neovim.git
synced 2026-10-28 00:20:21 -05: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 https://github.com/vim/vim/commit/91959a797d5017ee07b90c7516de91f40e11f048 Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
This commit is contained in:
1 parent
b1b6234208
commit
d78215f6a2
1 file changed
-4
@@ -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