Mercurial > vim
comparison src/undo.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 | d45e42b45470 |
children | 7ad3fc329e08 |
comparison
equal
deleted
inserted
replaced
16404:5bbb39c9706a | 16405:840fa633ad64 |
---|---|
2269 long closest_seq = 0; | 2269 long closest_seq = 0; |
2270 long val; | 2270 long val; |
2271 u_header_T *uhp = NULL; | 2271 u_header_T *uhp = NULL; |
2272 u_header_T *last; | 2272 u_header_T *last; |
2273 int mark; | 2273 int mark; |
2274 int nomark; | 2274 int nomark = 0; // shut up compiler |
2275 int round; | 2275 int round; |
2276 int dosec = sec; | 2276 int dosec = sec; |
2277 int dofile = file; | 2277 int dofile = file; |
2278 int above = FALSE; | 2278 int above = FALSE; |
2279 int did_undo = TRUE; | 2279 int did_undo = TRUE; |