Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
18138:28c9188517bc | 18139:59bc3cd42cf5 |
---|---|
2979 * Return TRUE if a file appears to be read-only from the file permissions. | 2979 * Return TRUE if a file appears to be read-only from the file permissions. |
2980 */ | 2980 */ |
2981 int | 2981 int |
2982 check_file_readonly( | 2982 check_file_readonly( |
2983 char_u *fname, /* full path to file */ | 2983 char_u *fname, /* full path to file */ |
2984 int perm) /* known permissions on file */ | 2984 int perm UNUSED) /* known permissions on file */ |
2985 { | 2985 { |
2986 #ifndef USE_MCH_ACCESS | 2986 #ifndef USE_MCH_ACCESS |
2987 int fd = 0; | 2987 int fd = 0; |
2988 #endif | 2988 #endif |
2989 | 2989 |