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/window.c b/src/window.c index df82d20..b132361 100644 --- a/src/window.c +++ b/src/window.c
@@ -3981,7 +3981,7 @@ void goto_tabpage(int n) { - tabpage_T *tp; + tabpage_T *tp = NULL; // shut up compiler tabpage_T *ttp; int i;