1
0
forked from aniani/vim

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

@@ -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;