0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.1476

Problem:    Function arguments marked as unused while they are not.
Solution:   Remove UNUSED. (Yegappan Lakshmanan)
This commit is contained in:
Bram Moolenaar
2016-03-03 12:22:53 +01:00
parent 00ded43a5a
commit f1d2501ebe
6 changed files with 12 additions and 10 deletions

View File

@@ -9262,7 +9262,7 @@ ex_bang(exarg_T *eap)
* ":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);
@@ -9759,7 +9759,7 @@ theend:
#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)
{