comparison 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
comparison
equal deleted inserted replaced
18138:28c9188517bc 18139:59bc3cd42cf5
7333 #endif 7333 #endif
7334 } 7334 }
7335 7335
7336 #if (defined(FEAT_SESSION) || defined(FEAT_EVAL)) || defined(PROTO) 7336 #if (defined(FEAT_SESSION) || defined(FEAT_EVAL)) || defined(PROTO)
7337 int 7337 int
7338 vim_mkdir_emsg(char_u *name, int prot) 7338 vim_mkdir_emsg(char_u *name, int prot UNUSED)
7339 { 7339 {
7340 if (vim_mkdir(name, prot) != 0) 7340 if (vim_mkdir(name, prot) != 0)
7341 { 7341 {
7342 semsg(_("E739: Cannot create directory: %s"), name); 7342 semsg(_("E739: Cannot create directory: %s"), name);
7343 return FAIL; 7343 return FAIL;