diff src/fileio.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 0f7ae8010787
children e2be5a6485f5
line wrap: on
line diff
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2981,7 +2981,7 @@ set_file_time(
     int
 check_file_readonly(
     char_u	*fname,		/* full path to file */
-    int		perm)		/* known permissions on file */
+    int		perm UNUSED)	/* known permissions on file */
 {
 #ifndef USE_MCH_ACCESS
     int	    fd = 0;