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 9f84422..ae3e202 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -3997,10 +3997,7 @@
{
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;