From: Bram Moolenaar Date: Fri, 29 Jul 2022 18:50:41 +0000 (+0100) Subject: patch 9.0.0107: condition always has the same value X-Git-Tag: v9.0.0107 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=72981ac94ff7aeaa596d535448ee0bef46050acf;p=thirdparty%2Fvim.git patch 9.0.0107: condition always has the same value Problem: Condition always has the same value. Solution: Remove the condition. --- diff --git a/src/userfunc.c b/src/userfunc.c index 9f8442277f..ae3e20202b 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 44ee33f7cf..79802aa65d 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, /**/