aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index c09a3c08ef..2578d1837a 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -2007,7 +2007,7 @@ getcmdline (
int firstc,
long count, // only used for incremental search
int indent, // indent for inside conditionals
- bool do_concat // unused
+ bool do_concat FUNC_ATTR_UNUSED
)
{
// Be prepared for situations where cmdline can be invoked recursively.
@@ -4715,8 +4715,7 @@ ExpandFromContext (
int free_pat = FALSE;
int i;
- /* for ":set path=" and ":set tags=" halve backslashes for escaped
- * space */
+ // for ":set path=" and ":set tags=" halve backslashes for escaped space
if (xp->xp_backslash != XP_BS_NONE) {
free_pat = TRUE;
pat = vim_strsave(pat);
@@ -4984,8 +4983,7 @@ static void expand_shellcmd(char_u *filepat, int *num_file, char_u ***file,
int ret;
bool did_curdir = false;
- /* for ":set path=" and ":set tags=" halve backslashes for escaped
- * space */
+ // for ":set path=" and ":set tags=" halve backslashes for escaped space
pat = vim_strsave(filepat);
for (i = 0; pat[i]; ++i)
if (pat[i] == '\\' && pat[i + 1] == ' ')