From 66d86d8bdbe96fe7d8e7390d7348fa458a0421fa Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Fri, 26 Apr 2019 23:58:09 -0400 Subject: vim-patch:8.1.1207: some compilers give warning messages Problem: Some compilers give warning messages. Solution: Initialize variables, change printf() argument. (Christian Brabandt, closes vim/vim#4305) https://github.com/vim/vim/commit/1f3601e92e7fd2813b9541580d6d9649c802eb58 --- src/nvim/eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/eval.c') diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 2685cf5cea..10d6bbf714 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -3935,7 +3935,7 @@ static int eval6(char_u **arg, typval_T *rettv, int evaluate, int want_string) int op; varnumber_T n1, n2; bool use_float = false; - float_T f1 = 0, f2; + float_T f1 = 0, f2 = 0; bool error = false; /* -- cgit