summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-04-26 20:33:00 +0200
committerBram Moolenaar <Bram@vim.org>2019-04-26 20:33:00 +0200
commit1f3601e92e7fd2813b9541580d6d9649c802eb58 (patch)
tree05c9e99b68810e0a12ca7af59619431ec8ae8c1c /src/window.c
parentd1f90bbcab0ad934d3f48a717a916807b57269ab (diff)
downloadvim-git-1f3601e92e7fd2813b9541580d6d9649c802eb58.tar.gz
patch 8.1.1207: some compilers give warning messagesv8.1.1207
Problem: Some compilers give warning messages. Solution: Initialize variables, change printf() argument. (Christian Brabandt, closes #4305)
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index df82d203f..b132361a5 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3981,7 +3981,7 @@ enter_tabpage(
void
goto_tabpage(int n)
{
- tabpage_T *tp;
+ tabpage_T *tp = NULL; // shut up compiler
tabpage_T *ttp;
int i;