mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user