Mercurial > vim
changeset 29572:fdfb36298114 v9.0.0127
patch 9.0.0127: unused variable
Commit: https://github.com/vim/vim/commit/e95f22f63a1871b91e5508088e5ae4905ce28cd7
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon Aug 1 11:49:45 2022 +0100
patch 9.0.0127: unused variable
Problem: Unused variable.
Solution: Remove the variable. (closes https://github.com/vim/vim/issues/10829)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 01 Aug 2022 13:00:04 +0200 |
parents | ac4e168fcae2 |
children | 7ce826240c21 |
files | src/map.c src/version.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/map.c +++ b/src/map.c @@ -2582,7 +2582,6 @@ get_map_mode_string(char_u *mode_string, 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 *re (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