comparison src/ex_getln.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 7d90fa3e5f8d
comparison
equal deleted inserted replaced
18138:28c9188517bc 18139:59bc3cd42cf5
3752 * Escape special characters in "fname" for when used as a file name argument 3752 * Escape special characters in "fname" for when used as a file name argument
3753 * after a Vim command, or, when "shell" is non-zero, a shell command. 3753 * after a Vim command, or, when "shell" is non-zero, a shell command.
3754 * Returns the result in allocated memory. 3754 * Returns the result in allocated memory.
3755 */ 3755 */
3756 char_u * 3756 char_u *
3757 vim_strsave_fnameescape(char_u *fname, int shell) 3757 vim_strsave_fnameescape(char_u *fname, int shell UNUSED)
3758 { 3758 {
3759 char_u *p; 3759 char_u *p;
3760 #ifdef BACKSLASH_IN_FILENAME 3760 #ifdef BACKSLASH_IN_FILENAME
3761 char_u buf[20]; 3761 char_u buf[20];
3762 int j = 0; 3762 int j = 0;