# HG changeset patch # User Bram Moolenaar # Date 1659351604 -7200 # Node ID fdfb362981149dc099f8e3dadef6a068822249ee # Parent ac4e168fcae204607c0d59e3e249a8b55cf03e74 patch 9.0.0127: unused variable Commit: https://github.com/vim/vim/commit/e95f22f63a1871b91e5508088e5ae4905ce28cd7 Author: zeertzjq 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) diff --git a/src/map.c b/src/map.c --- 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 diff --git a/src/version.c b/src/version.c --- 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,