summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-21 23:09:04 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-21 23:09:04 +0200
commitbd67aac279adf3a1cfa11557229b44e4c2c3dcda (patch)
treeb00100bb2bd1c42ce594c3d6804c618afae3450c /src/fileio.c
parent1e82a784ace6d2c4dce594dd6156bcb0028bba9e (diff)
downloadvim-git-bd67aac279adf3a1cfa11557229b44e4c2c3dcda.tar.gz
patch 8.1.2064: MS-Windows: compiler warnings for unused argumentsv8.1.2064
Problem: MS-Windows: compiler warnings for unused arguments. Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963)
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 606359ade..e0226f8c8 100644
--- 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;