Mercurial > vim
changeset 27179:c4b94533559e v8.2.4118
patch 8.2.4118: using UNUSED for argument that is used
Commit: https://github.com/vim/vim/commit/0023f82a76cf43a12b41e71f97a2e860d0444e1b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 16 21:54:19 2022 +0000
patch 8.2.4118: using UNUSED for argument that is used
Problem: Using UNUSED for argument that is used.
Solution: Remove UNUSED.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Jan 2022 23:00:03 +0100 |
parents | 92e8c2995d62 |
children | 26dee2622570 |
files | src/usercmd.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/usercmd.c +++ b/src/usercmd.c @@ -123,10 +123,10 @@ static struct 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 + 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;