mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
Remove final build warning
This commit removes a K&R promoted parameter error, the final warning I have when building. I realize that this creates only one function that is written in a different style, but I thought it might be worth it to have a warning free build.
This commit is contained in:
committed by
Thiago de Arruda
parent
a74c059a3e
commit
def17b25fe
@@ -966,9 +966,7 @@ static void parse_command_name(mparm_T *parmp)
|
||||
}
|
||||
}
|
||||
|
||||
static bool parse_char_i(input, val)
|
||||
char_u **input;
|
||||
char val;
|
||||
static bool parse_char_i(char_u **input, char val)
|
||||
{
|
||||
if (TOLOWER_ASC(**input) == val) {
|
||||
*input += 1; /* or (*input)++ WITH parens */
|
||||
|
||||
Reference in New Issue
Block a user