mirror of
https://github.com/neovim/neovim.git
synced 2025-12-22 14:18:56 +00:00
vim-patch:8.1.1745: compiler warning for unused argument
Problem: Compiler warning for unused argument.
Solution: Add UNUSED. Change comments to new style.
1f164b1968
This commit is contained in:
@@ -5648,8 +5648,11 @@ static void f_matchadd(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
{
|
||||
char grpbuf[NUMBUFLEN];
|
||||
char patbuf[NUMBUFLEN];
|
||||
// group
|
||||
const char *const grp = tv_get_string_buf_chk(&argvars[0], grpbuf);
|
||||
// pattern
|
||||
const char *const pat = tv_get_string_buf_chk(&argvars[1], patbuf);
|
||||
// default priority
|
||||
int prio = 10;
|
||||
int id = -1;
|
||||
bool error = false;
|
||||
|
||||
Reference in New Issue
Block a user