From 91959a797d5017ee07b90c7516de91f40e11f048 Mon Sep 17 00:00:00 2001 From: Hirohito Higashi Date: Mon, 13 Oct 2025 19:06:04 +0000 Subject: [PATCH] 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 Signed-off-by: Christian Brabandt --- src/optionstr.c | 3 --- src/version.c | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/optionstr.c b/src/optionstr.c index 3dde2c2ad5..b50aed5479 100644 --- a/src/optionstr.c +++ b/src/optionstr.c @@ -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; diff --git a/src/version.c b/src/version.c index 100595d665..50a40d38a8 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1854, /**/ 1853, /**/