comparison src/usercmd.c @ 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 c9474ae175f4
children 8950a7b6cc89
comparison
equal deleted inserted replaced
27178:92e8c2995d62 27179:c4b94533559e
121 * Return NULL if there is no matching command. 121 * Return NULL if there is no matching command.
122 */ 122 */
123 char_u * 123 char_u *
124 find_ucmd( 124 find_ucmd(
125 exarg_T *eap, 125 exarg_T *eap,
126 char_u *p, // end of the command (possibly including count) 126 char_u *p, // end of the command (possibly including count)
127 int *full, // set to TRUE for a full match 127 int *full, // set to TRUE for a full match
128 expand_T *xp, // used for completion, NULL otherwise 128 expand_T *xp, // used for completion, NULL otherwise
129 int *complp UNUSED) // completion flags or NULL 129 int *complp) // completion flags or NULL
130 { 130 {
131 int len = (int)(p - eap->cmd); 131 int len = (int)(p - eap->cmd);
132 int j, k, matchlen = 0; 132 int j, k, matchlen = 0;
133 ucmd_T *uc; 133 ucmd_T *uc;
134 int found = FALSE; 134 int found = FALSE;