From 72981ac94ff7aeaa596d535448ee0bef46050acf Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 29 Jul 2022 19:50:41 +0100 Subject: [PATCH] patch 9.0.0107: condition always has the same value Problem: Condition always has the same value. Solution: Remove the condition. --- src/userfunc.c | 5 +---- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/userfunc.c b/src/userfunc.c index 9f8442277..ae3e20202 100644 --- a/src/userfunc.c +++ b/src/userfunc.c @@ -3997,10 +3997,7 @@ trans_function_name( { if (vim9script && lead == 2 && !ASCII_ISUPPER(*lv.ll_name)) { - semsg(_(vim9script - ? e_function_name_must_start_with_capital_str - : e_function_name_must_start_with_capital_or_s_str), - start); + semsg(_(e_function_name_must_start_with_capital_str), start); goto theend; } lead = 3; diff --git a/src/version.c b/src/version.c index 44ee33f7c..79802aa65 100644 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 107, /**/ 106, /**/ -- 2.40.0