mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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:
@@ -2682,6 +2682,7 @@ check_args_shadowing(ufunc_T *ufunc, cctx_T *cctx)
|
||||
return r;
|
||||
}
|
||||
|
||||
#ifdef HAS_MESSAGE_WINDOW
|
||||
/*
|
||||
* Get a count before a command. Can only be a number.
|
||||
* Returns zero if there is no count.
|
||||
@@ -2707,6 +2708,7 @@ get_cmd_count(char_u *line, exarg_T *eap)
|
||||
}
|
||||
return atol((char *)p);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Get the compilation type that should be used for "ufunc".
|
||||
|
Reference in New Issue
Block a user