Patch 8.1.2411
Problem: Function argument copied unnecessarily.
Solution: Use the argument directly.
Files: src/ex_docmd.c
*** ../vim-8.1.2410/src/ex_docmd.c 2019-12-01 21:41:24.477837841 +0100
--- src/ex_docmd.c 2019-12-08 17:06:08.074212014 +0100
***************
*** 3412,3424 ****
get_address(
exarg_T *eap UNUSED,
char_u **ptr,
! cmd_addr_T addr_type_arg,
int skip, // only skip the address, don't use it
int silent, // no errors or side effects
int to_other_file, // flag: may jump to other file
int address_count UNUSED) // 1 for first address, >1 after
comma
{
- cmd_addr_T addr_type = addr_type_arg;
int c;
int i;
long n;
--- 3412,3423 ----
get_address(
exarg_T *eap UNUSED,
char_u **ptr,
! cmd_addr_T addr_type,
int skip, // only skip the address, don't use it
int silent, // no errors or side effects
int to_other_file, // flag: may jump to other file
int address_count UNUSED) // 1 for first address, >1 after
comma
{
int c;
int i;
long n;
*** ../vim-8.1.2410/src/version.c 2019-12-07 21:40:45.215528035 +0100
--- src/version.c 2019-12-08 17:06:48.650055721 +0100
***************
*** 744,745 ****
--- 744,747 ----
{ /* Add new patch number below this line */
+ /**/
+ 2411,
/**/
--
hundred-and-one symptoms of being an internet addict:
226. You sit down at the computer right after dinner and your spouse
says "See you in the morning."
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ 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/201912081608.xB8G8sCk004570%40masaka.moolenaar.net.