0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

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.
This commit is contained in:
Bram Moolenaar
2019-12-30 10:57:00 +01:00
parent eb698d0b32
commit 85b0957616
2 changed files with 5 additions and 1 deletions

View File

@@ -95,11 +95,13 @@ estack_pop(void)
char_u * char_u *
estack_sfile(void) estack_sfile(void)
{ {
estack_T *entry;
#ifdef FEAT_EVAL
int len; int len;
int idx; int idx;
estack_T *entry;
char *res; char *res;
int done; int done;
#endif
entry = ((estack_T *)exestack.ga_data) + exestack.ga_len - 1; entry = ((estack_T *)exestack.ga_data) + exestack.ga_len - 1;
if (entry->es_name == NULL) if (entry->es_name == NULL)

View File

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