From def17b25fe601682d30c04f06c08dd467292951d Mon Sep 17 00:00:00 2001 From: Scott Nielsen Date: Wed, 26 Feb 2014 02:25:46 -0700 Subject: [PATCH] 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. --- src/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 418c579209..c5d7d528cf 100644 --- a/src/main.c +++ b/src/main.c @@ -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 */