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:
Scott Nielsen
2014-02-26 02:25:46 -07:00
committed by Thiago de Arruda
parent a74c059a3e
commit def17b25fe

View File

@@ -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 */