patch 9.0.0107: condition always has the same value

Problem:    Condition always has the same value.
Solution:   Remove the condition.
This commit is contained in:
Bram Moolenaar
2022-07-29 19:50:41 +01:00
parent cb36c2a3cd
commit 72981ac94f
2 changed files with 3 additions and 4 deletions

View File

@ -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;

View File

@ -735,6 +735,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
107,
/**/
106,
/**/