comparison src/window.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 3b2db762a509
children 8c3a1bd270bb
comparison
equal deleted inserted replaced
16404:5bbb39c9706a 16405:840fa633ad64
3979 * When "n" is 9999 go to the last tab page. 3979 * When "n" is 9999 go to the last tab page.
3980 */ 3980 */
3981 void 3981 void
3982 goto_tabpage(int n) 3982 goto_tabpage(int n)
3983 { 3983 {
3984 tabpage_T *tp; 3984 tabpage_T *tp = NULL; // shut up compiler
3985 tabpage_T *ttp; 3985 tabpage_T *ttp;
3986 int i; 3986 int i;
3987 3987
3988 if (text_locked()) 3988 if (text_locked())
3989 { 3989 {