diff src/ex_docmd.c @ 18139:59bc3cd42cf5 v8.1.2064

patch 8.1.2064: MS-Windows: compiler warnings for unused arguments Commit: https://github.com/vim/vim/commit/bd67aac279adf3a1cfa11557229b44e4c2c3dcda Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 21 23:09:04 2019 +0200 patch 8.1.2064: MS-Windows: compiler warnings for unused arguments Problem: MS-Windows: compiler warnings for unused arguments. Solution: Add UNUSED. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/4963)
author Bram Moolenaar <Bram@vim.org>
date Sat, 21 Sep 2019 23:15:03 +0200
parents 1868ec23360e
children b0b37bd807ba
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -7335,7 +7335,7 @@ close_redir(void)
 
 #if (defined(FEAT_SESSION) || defined(FEAT_EVAL)) || defined(PROTO)
     int
-vim_mkdir_emsg(char_u *name, int prot)
+vim_mkdir_emsg(char_u *name, int prot UNUSED)
 {
     if (vim_mkdir(name, prot) != 0)
     {