mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.0787: compiler warning for unused function
Problem: Compiler warning for unused function. (Tony Mechelynck) Solution: Tune #ifdef around setjmp functions.
This commit is contained in:
@@ -980,7 +980,11 @@ sig_alarm SIGDEFARG(sigarg)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_SETJMP_H) || defined(PROTO)
|
#if (defined(HAVE_SETJMP_H) \
|
||||||
|
&& ((defined(FEAT_X11) && defined(FEAT_XCLIPBOARD)) \
|
||||||
|
|| defined(FEAT_LIBCALL))) \
|
||||||
|
|| defined(PROTO)
|
||||||
|
|
||||||
// argument to SETJMP()
|
// argument to SETJMP()
|
||||||
static JMP_BUF lc_jump_env;
|
static JMP_BUF lc_jump_env;
|
||||||
|
|
||||||
|
@@ -791,6 +791,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 */
|
||||||
|
/**/
|
||||||
|
787,
|
||||||
/**/
|
/**/
|
||||||
786,
|
786,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user