comparison src/eval.c @ 16405:840fa633ad64 v8.1.1207

patch 8.1.1207: some compilers give warning messages commit https://github.com/vim/vim/commit/1f3601e92e7fd2813b9541580d6d9649c802eb58 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 26 20:33:00 2019 +0200 patch 8.1.1207: some compilers give warning messages Problem: Some compilers give warning messages. Solution: Initialize variables, change printf() argument. (Christian Brabandt, closes #4305)
author Bram Moolenaar <Bram@vim.org>
date Fri, 26 Apr 2019 20:45:06 +0200
parents 6ee80f3b5ea9
children 5b5c5daf57de
comparison
equal deleted inserted replaced
16404:5bbb39c9706a 16405:840fa633ad64
4049 typval_T var2; 4049 typval_T var2;
4050 int op; 4050 int op;
4051 varnumber_T n1, n2; 4051 varnumber_T n1, n2;
4052 #ifdef FEAT_FLOAT 4052 #ifdef FEAT_FLOAT
4053 int use_float = FALSE; 4053 int use_float = FALSE;
4054 float_T f1 = 0, f2; 4054 float_T f1 = 0, f2 = 0;
4055 #endif 4055 #endif
4056 int error = FALSE; 4056 int error = FALSE;
4057 4057
4058 /* 4058 /*
4059 * Get the first variable. 4059 * Get the first variable.