To: vim_dev@googlegroups.com Subject: Patch 9.0.0127 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0127 Problem: Unused variable. Solution: Remove the variable. (closes #10829) Files: src/map.c *** ../vim-9.0.0126/src/map.c 2022-07-23 09:52:00.337814264 +0100 --- src/map.c 2022-08-01 11:48:47.206776314 +0100 *************** *** 2582,2588 **** void f_mapset(typval_T *argvars, typval_T *rettv UNUSED) { - char_u *keys_buf = NULL; char_u *which; int mode; char_u buf[NUMBUFLEN]; --- 2582,2587 ---- *************** *** 2707,2713 **** (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 --- 2706,2711 ---- *** ../vim-9.0.0126/src/version.c 2022-08-01 11:38:13.515497865 +0100 --- src/version.c 2022-08-01 11:49:29.614742958 +0100 *************** *** 737,738 **** --- 737,740 ---- { /* Add new patch number below this line */ + /**/ + 127, /**/ -- From the classified section of a city newspaper: Dog for sale: eats anything and is fond of children. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///