mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -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
|
||||
|
||||
#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()
|
||||
static JMP_BUF lc_jump_env;
|
||||
|
||||
|
@@ -791,6 +791,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
787,
|
||||
/**/
|
||||
786,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user