Skip to content

Commit 85b0957

Browse files
committed
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.
1 parent eb698d0 commit 85b0957

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/scriptfile.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,13 @@ estack_pop(void)
9595
char_u *
9696
estack_sfile(void)
9797
{
98+
estack_T *entry;
99+
#ifdef FEAT_EVAL
98100
int len;
99101
int idx;
100-
estack_T *entry;
101102
char *res;
102103
int done;
104+
#endif
103105

104106
entry = ((estack_T *)exestack.ga_data) + exestack.ga_len - 1;
105107
if (entry->es_name == NULL)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,8 @@ static char *(features[]) =
742742

743743
static int included_patches[] =
744744
{ /* Add new patch number below this line */
745+
/**/
746+
59,
745747
/**/
746748
58,
747749
/**/

0 commit comments

Comments
 (0)