diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-01 11:49:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-01 11:49:45 +0100 |
commit | e95f22f63a1871b91e5508088e5ae4905ce28cd7 (patch) | |
tree | d433dee6895c917045e512688a018c9a0241f5b5 | |
parent | 95fca12b0e8a351ce4416417323db24c63eb940a (diff) | |
download | vim-git-e95f22f63a1871b91e5508088e5ae4905ce28cd7.tar.gz |
patch 9.0.0127: unused variablev9.0.0127
Problem: Unused variable.
Solution: Remove the variable. (closes #10829)
-rw-r--r-- | src/map.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2582,7 +2582,6 @@ get_map_mode_string(char_u *mode_string, int abbr) void f_mapset(typval_T *argvars, typval_T *rettv UNUSED) { - char_u *keys_buf = NULL; char_u *which; int mode; 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, nowait, silent, mode, is_abbr, expr, sid, scriptversion, lnum, 1); - vim_free(keys_buf); vim_free(arg_buf); } #endif diff --git a/src/version.c b/src/version.c index 3dfd3d964..ac56f8c06 100644 --- a/src/version.c +++ b/src/version.c @@ -736,6 +736,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 127, +/**/ 126, /**/ 125, |