0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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)
This commit is contained in:
Bram Moolenaar
2019-04-26 20:33:00 +02:00
parent d1f90bbcab
commit 1f3601e92e
5 changed files with 7 additions and 5 deletions

View File

@@ -4051,7 +4051,7 @@ eval6(
varnumber_T n1, n2;
#ifdef FEAT_FLOAT
int use_float = FALSE;
float_T f1 = 0, f2;
float_T f1 = 0, f2 = 0;
#endif
int error = FALSE;