patch 8.2.0059: compiler warnings for unused variables in small build
Problem: Compiler warnings for unused variables in small build. (Tony
Mechelynck)
Solution: Add #ifdef.
diff --git a/src/scriptfile.c b/src/scriptfile.c
index dccf735..783e6bc 100644
--- a/src/scriptfile.c
+++ b/src/scriptfile.c
@@ -95,11 +95,13 @@
char_u *
estack_sfile(void)
{
+ estack_T *entry;
+#ifdef FEAT_EVAL
int len;
int idx;
- estack_T *entry;
char *res;
int done;
+#endif
entry = ((estack_T *)exestack.ga_data) + exestack.ga_len - 1;
if (entry->es_name == NULL)
diff --git a/src/version.c b/src/version.c
index 5c27a50..aeb1920 100644
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 59,
+/**/
58,
/**/
57,