Problem: Function arguments marked as unused while they are not.
Solution: Remove UNUSED. (Yegappan Lakshmanan)
*/
void
ex_diffupdate(
- exarg_T *eap UNUSED) /* can be NULL */
+ exarg_T *eap) /* can be NULL */
{
buf_T *buf;
int idx_orig;
* "arglistid()" function
*/
static void
-f_arglistid(typval_T *argvars UNUSED, typval_T *rettv)
+f_arglistid(typval_T *argvars, typval_T *rettv)
{
win_T *wp;
* "screenattr()" function
*/
static void
-f_screenattr(typval_T *argvars UNUSED, typval_T *rettv)
+f_screenattr(typval_T *argvars, typval_T *rettv)
{
int row;
int col;
* "screenchar()" function
*/
static void
-f_screenchar(typval_T *argvars UNUSED, typval_T *rettv)
+f_screenchar(typval_T *argvars, typval_T *rettv)
{
int row;
int col;
* "visualmode()" function
*/
static void
-f_visualmode(typval_T *argvars UNUSED, typval_T *rettv UNUSED)
+f_visualmode(typval_T *argvars, typval_T *rettv)
{
char_u str[2];
static int
do_arglist(
char_u *str,
- int what UNUSED,
+ int what,
int after UNUSED) /* 0 means before first one */
{
garray_T new_ga;
* ":undo".
*/
static void
-ex_undo(exarg_T *eap UNUSED)
+ex_undo(exarg_T *eap)
{
if (eap->addr_count == 1) /* :undo 123 */
undo_time(eap->line2, FALSE, FALSE, TRUE);
#if ((defined(FEAT_SESSION) || defined(FEAT_EVAL)) && defined(vim_mkdir)) \
|| defined(PROTO)
int
-vim_mkdir_emsg(char_u *name, int prot UNUSED)
+vim_mkdir_emsg(char_u *name, int prot)
{
if (vim_mkdir(name, prot) != 0)
{
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1476,
/**/
1475,
/**/
enter_tabpage(
tabpage_T *tp,
buf_T *old_curbuf UNUSED,
- int trigger_enter_autocmds UNUSED,
- int trigger_leave_autocmds UNUSED)
+ int trigger_enter_autocmds,
+ int trigger_leave_autocmds)
{
int old_off = tp->tp_firstwin->w_winrow;
win_T *next_prevwin = tp->tp_prevwin;