Patch 8.2.4118

5 views
Skip to first unread message

Bram Moolenaar

unread,
Jan 16, 2022, 4:55:07 PM1/16/22
to vim...@googlegroups.com

Patch 8.2.4118
Problem: Using UNUSED for argument that is used.
Solution: Remove UNUSED.
Files: src/usercmd.c


*** ../vim-8.2.4117/src/usercmd.c 2022-01-08 16:19:18.509639849 +0000
--- src/usercmd.c 2022-01-16 21:51:31.410563484 +0000
***************
*** 123,132 ****
char_u *
find_ucmd(
exarg_T *eap,
! char_u *p, // end of the command (possibly including count)
! int *full, // set to TRUE for a full match
! expand_T *xp, // used for completion, NULL otherwise
! int *complp UNUSED) // completion flags or NULL
{
int len = (int)(p - eap->cmd);
int j, k, matchlen = 0;
--- 123,132 ----
char_u *
find_ucmd(
exarg_T *eap,
! char_u *p, // end of the command (possibly including count)
! int *full, // set to TRUE for a full match
! expand_T *xp, // used for completion, NULL otherwise
! int *complp) // completion flags or NULL
{
int len = (int)(p - eap->cmd);
int j, k, matchlen = 0;
*** ../vim-8.2.4117/src/version.c 2022-01-16 21:18:49.419329705 +0000
--- src/version.c 2022-01-16 21:53:46.462291289 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4118,
/**/

--
ARTHUR: I did say sorry about the `old woman,' but from the behind you
looked--
DENNIS: What I object to is you automatically treat me like an inferior!
ARTHUR: Well, I AM king...
The Quest for the Holy Grail (Monty Python)

/// Bram Moolenaar -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages