commit | 1f3601e92e7fd2813b9541580d6d9649c802eb58 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Apr 26 20:33:00 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Apr 26 20:33:00 2019 +0200 |
tree | 05c9e99b68810e0a12ca7af59619431ec8ae8c1c | |
parent | d1f90bbcab0ad934d3f48a717a916807b57269ab [diff] [blame] |
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)
diff --git a/src/undo.c b/src/undo.c index 978549a..1d26144 100644 --- a/src/undo.c +++ b/src/undo.c
@@ -2271,7 +2271,7 @@ u_header_T *uhp = NULL; u_header_T *last; int mark; - int nomark; + int nomark = 0; // shut up compiler int round; int dosec = sec; int dofile = file;