patch 8.2.0822: Vim9: code left over from discovery phase
Problem: Vim9: code left over from discovery phase.
Solution: Remove the dead code.
diff --git a/src/evalvars.c b/src/evalvars.c
index a45080b..e7a1b6d 100644
--- a/src/evalvars.c
+++ b/src/evalvars.c
@@ -164,7 +164,6 @@
// for VIM_VERSION_ defines
#include "version.h"
-static void ex_let_const(exarg_T *eap);
static char_u *skip_var_one(char_u *arg, int include_type);
static void list_glob_vars(int *first);
static void list_buf_vars(int *first);
@@ -682,27 +681,14 @@
* ":let [var1, var2] = expr" unpack list.
* ":let var =<< ..." heredoc
* ":let var: string" Vim9 declaration
- */
- void
-ex_let(exarg_T *eap)
-{
- ex_let_const(eap);
-}
-
-/*
+ *
* ":const" list all variable values
* ":const var1 var2" list variable values
* ":const var = expr" assignment command.
* ":const [var1, var2] = expr" unpack list.
*/
void
-ex_const(exarg_T *eap)
-{
- ex_let_const(eap);
-}
-
- static void
-ex_let_const(exarg_T *eap)
+ex_let(exarg_T *eap)
{
char_u *arg = eap->arg;
char_u *expr = NULL;