Patch 8.2.0059
Problem: Compiler warnings for unused variables in small build. (Tony
Mechelynck)
Solution: Add #ifdef.
Files: src/scriptfile.c
*** ../vim-8.2.0058/src/scriptfile.c 2019-12-29 23:52:58.585005552 +0100
--- src/scriptfile.c 2019-12-30 10:55:05.848617132 +0100
***************
*** 95,105 ****
char_u *
estack_sfile(void)
{
int len;
int idx;
- estack_T *entry;
char *res;
int done;
entry = ((estack_T *)exestack.ga_data) + exestack.ga_len - 1;
if (entry->es_name == NULL)
--- 95,107 ----
char_u *
estack_sfile(void)
{
+ estack_T *entry;
+ #ifdef FEAT_EVAL
int len;
int idx;
char *res;
int done;
+ #endif
entry = ((estack_T *)exestack.ga_data) + exestack.ga_len - 1;
if (entry->es_name == NULL)
*** ../vim-8.2.0058/src/version.c 2019-12-30 00:07:52.877822159 +0100
--- src/version.c 2019-12-30 10:56:34.768315026 +0100
***************
*** 744,745 ****
--- 744,747 ----
{ /* Add new patch number below this line */
+ /**/
+ 59,
/**/
--
ARTHUR: I command you as King of the Britons to stand aside!
BLACK KNIGHT: I move for no man.
The Quest for the Holy Grail (Monty Python)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201912301117.xBUBHoNX027774%40masaka.moolenaar.net.