From: Bram Moolenaar Date: Mon, 30 Dec 2019 09:57:00 +0000 (+0100) Subject: patch 8.2.0059: compiler warnings for unused variables in small build X-Git-Tag: v8.2.0059 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=85b0957616e9d9d0edef44baa9fa6c6a2037782d;p=vim 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 dccf73559..783e6bc75 100644 --- 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 index 5c27a504a..aeb1920b9 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 59, /**/ 58, /**/