1
0
forked from aniani/vim

patch 9.0.0127: unused variable

Problem:    Unused variable.
Solution:   Remove the variable. (closes #10829)
This commit is contained in:
zeertzjq
2022-08-01 11:49:45 +01:00
committed by Bram Moolenaar
parent 95fca12b0e
commit e95f22f63a
2 changed files with 2 additions and 2 deletions

View File

@@ -2582,7 +2582,6 @@ get_map_mode_string(char_u *mode_string, int abbr)
void void
f_mapset(typval_T *argvars, typval_T *rettv UNUSED) f_mapset(typval_T *argvars, typval_T *rettv UNUSED)
{ {
char_u *keys_buf = NULL;
char_u *which; char_u *which;
int mode; int mode;
char_u buf[NUMBUFLEN]; char_u buf[NUMBUFLEN];
@@ -2707,7 +2706,6 @@ f_mapset(typval_T *argvars, typval_T *rettv UNUSED)
(void)map_add(map_table, abbr_table, lhsrawalt, rhs, orig_rhs, noremap, (void)map_add(map_table, abbr_table, lhsrawalt, rhs, orig_rhs, noremap,
nowait, silent, mode, is_abbr, expr, sid, scriptversion, nowait, silent, mode, is_abbr, expr, sid, scriptversion,
lnum, 1); lnum, 1);
vim_free(keys_buf);
vim_free(arg_buf); vim_free(arg_buf);
} }
#endif #endif

View File

@@ -735,6 +735,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
127,
/**/ /**/
126, 126,
/**/ /**/