# HG changeset patch # User Bram Moolenaar # Date 1577700004 -3600 # Node ID 6b2d934363884e94c9e6dfe741bd3392b35236f6 # Parent bcceb28040ef2979e90b49ddea8c7ad95e193d60 patch 8.2.0059: compiler warnings for unused variables in small build Commit: https://github.com/vim/vim/commit/85b0957616e9d9d0edef44baa9fa6c6a2037782d Author: Bram Moolenaar Date: Mon Dec 30 10:57:00 2019 +0100 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 --- a/src/scriptfile.c +++ b/src/scriptfile.c @@ -95,11 +95,13 @@ estack_pop(void) 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 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 59, +/**/ 58, /**/ 57,