To: vim_dev@googlegroups.com Subject: Patch 8.1.2411 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- 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 ///