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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20220801105014.324741C0C11%40moolenaar.net.