aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-06 20:39:53 -0500
committerGitHub <noreply@github.com>2020-12-06 20:39:53 -0500
commit7477703586af3710584888b197d84a0938a27fe9 (patch)
treea2b17e49945fcdb5879e79a5d46bd27e326659ca /src/nvim/ex_getln.c
parent5855a3ea7bf19fdf8d1c0351ce062386fb98127a (diff)
parent8ae34ab7802763c2bbf64c8ba99c36d159da7220 (diff)
downloadrneovim-7477703586af3710584888b197d84a0938a27fe9.tar.gz
rneovim-7477703586af3710584888b197d84a0938a27fe9.tar.bz2
rneovim-7477703586af3710584888b197d84a0938a27fe9.zip
Merge pull request #13468 from janlazo/vim-8.1.0818
vim-patch:8.1.{818,1131,2064},8.2.{587,879,1021,1296,2104}
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index ed408c28e5..a0910f1394 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -4327,7 +4327,8 @@ void ExpandEscape(expand_T *xp, char_u *str, int numfiles, char_u **files, int o
/// if true then it escapes for a shell command.
///
/// @return [allocated] escaped file name.
-char *vim_strsave_fnameescape(const char *const fname, const bool shell)
+char *vim_strsave_fnameescape(const char *const fname,
+ const bool shell FUNC_ATTR_UNUSED)
FUNC_ATTR_NONNULL_RET FUNC_ATTR_MALLOC FUNC_ATTR_NONNULL_ALL
{
#ifdef BACKSLASH_IN_FILENAME