From e95f22f63a1871b91e5508088e5ae4905ce28cd7 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 1 Aug 2022 11:49:45 +0100 Subject: patch 9.0.0127: unused variable Problem: Unused variable. Solution: Remove the variable. (closes #10829) --- src/map.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/map.c') diff --git a/src/map.c b/src/map.c index 96ccff02a..3516f7ae2 100644 --- a/src/map.c +++ b/src/map.c @@ -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 -- cgit v1.2.1