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:
@@ -4308,8 +4308,9 @@ get_address(
|
|||||||
lnum = MAXLNUM;
|
lnum = MAXLNUM;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
#ifdef FEAT_FOLDING
|
||||||
int base_char = *cmd;
|
int base_char = *cmd;
|
||||||
|
#endif
|
||||||
switch (*cmd)
|
switch (*cmd)
|
||||||
{
|
{
|
||||||
case '.': // '.' - Cursor position
|
case '.': // '.' - Cursor position
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
859,
|
||||||
/**/
|
/**/
|
||||||
858,
|
858,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user