0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.0.1399: warnings and errors when building tiny version

Problem:    Warnings and errors when building tiny version. (Tony Mechelynck)
Solution:   Add #ifdefs.
This commit is contained in:
Bram Moolenaar
2017-12-17 14:55:01 +01:00
parent 9e1d399e63
commit ee219b0e9f
3 changed files with 6 additions and 0 deletions

View File

@@ -1645,6 +1645,7 @@ shift_delete_registers()
y_regs[1].y_array = NULL; /* set register one to empty */
}
#ifdef FEAT_AUTOCMD
static void
yank_do_autocmd(oparg_T *oap, yankreg_T *reg)
{
@@ -1701,6 +1702,7 @@ yank_do_autocmd(oparg_T *oap, yankreg_T *reg)
dict_free_contents(v_event);
hash_init(&v_event->dv_hashtab);
}
#endif
/*
* Handle a delete operation.