mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.0.0689: compiler warning for unused function
Problem: Compiler warning for unused function. Solution: Add #ifdef. (John Marriott)
This commit is contained in:
parent
33b55b562b
commit
fcb86b0a99
@ -699,6 +699,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 */
|
||||||
|
/**/
|
||||||
|
689,
|
||||||
/**/
|
/**/
|
||||||
688,
|
688,
|
||||||
/**/
|
/**/
|
||||||
|
@ -2682,6 +2682,7 @@ check_args_shadowing(ufunc_T *ufunc, cctx_T *cctx)
|
|||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAS_MESSAGE_WINDOW
|
||||||
/*
|
/*
|
||||||
* Get a count before a command. Can only be a number.
|
* Get a count before a command. Can only be a number.
|
||||||
* Returns zero if there is no count.
|
* Returns zero if there is no count.
|
||||||
@ -2707,6 +2708,7 @@ get_cmd_count(char_u *line, exarg_T *eap)
|
|||||||
}
|
}
|
||||||
return atol((char *)p);
|
return atol((char *)p);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Get the compilation type that should be used for "ufunc".
|
* Get the compilation type that should be used for "ufunc".
|
||||||
|
Loading…
x
Reference in New Issue
Block a user