diff options
author | Scott Nielsen <scottnielsen5@gmail.com> | 2014-02-26 02:25:46 -0700 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-02-26 06:35:29 -0300 |
commit | def17b25fe601682d30c04f06c08dd467292951d (patch) | |
tree | 95ba479e07c04da304d4aff54ab02ae57ba63825 /src | |
parent | a74c059a3e322f1abc0e98b76e16a7b92d499654 (diff) | |
download | rneovim-def17b25fe601682d30c04f06c08dd467292951d.tar.gz rneovim-def17b25fe601682d30c04f06c08dd467292951d.tar.bz2 rneovim-def17b25fe601682d30c04f06c08dd467292951d.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 1 insertions, 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 */ |