Skip to content

Commit 91959a7

Browse files
h-eastchrisbra
authored andcommitted
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 <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent 6622dc2 commit 91959a7

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/optionstr.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1703,9 +1703,6 @@ did_set_completeopt(optset_T *args UNUSED)
17031703
// When using :set, clear the local flags.
17041704
curbuf->b_cot_flags = 0;
17051705

1706-
if (check_opt_strings(cot, p_cot_values, TRUE) != OK)
1707-
return e_invalid_argument;
1708-
17091706
if (opt_strings_flags(cot, p_cot_values, flags, TRUE) != OK)
17101707
return e_invalid_argument;
17111708

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,8 @@ static char *(features[]) =
729729

730730
static int included_patches[] =
731731
{ /* Add new patch number below this line */
732+
/**/
733+
1854,
732734
/**/
733735
1853,
734736
/**/

0 commit comments

Comments
 (0)