refactor(optionstr.c): remove redundant argument

This commit is contained in:
Lewis Russell
2023-07-12 14:16:29 +01:00
parent 3b02e1281a
commit 9fdc4cdb64
2 changed files with 6 additions and 8 deletions

View File

@@ -1172,7 +1172,7 @@ static void do_set_option_string(int opt_idx, int opt_flags, char **argp, int ne
// Handle side effects, and set the global value for ":set" on local
// options. Note: when setting 'syntax' or 'filetype' autocommands may
// be triggered that can cause havoc.
*errmsg = did_set_string_option(curbuf, curwin, opt_idx, (char **)varp, oldval, newval,
*errmsg = did_set_string_option(curbuf, curwin, opt_idx, (char **)varp, oldval,
errbuf, errbuflen,
opt_flags, value_checked);