0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

patch 9.0.0859: compiler warning for unused variable

Problem:    Compiler warning for unused variable.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2022-11-11 01:40:48 +00:00
parent f00112d558
commit fd3084b6e2
2 changed files with 4 additions and 1 deletions

View File

@@ -4308,8 +4308,9 @@ get_address(
lnum = MAXLNUM;
do
{
#ifdef FEAT_FOLDING
int base_char = *cmd;
#endif
switch (*cmd)
{
case '.': // '.' - Cursor position

View File

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