To: vim_dev@googlegroups.com Subject: Patch 8.0.1569 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1569 Problem: Warning for uninitialized variable from gcc. Solution: Initialize the variable. Files: src/quickfix.c *** ../vim-8.0.1568/src/quickfix.c 2018-03-04 18:07:04.276592296 +0100 --- src/quickfix.c 2018-03-05 12:41:09.402675093 +0100 *************** *** 4099,4105 **** win_T *wp = NULL; qf_info_T *qi = &ql_info; char_u *au_name = NULL; ! int save_qfid; int res; switch (eap->cmdidx) --- 4099,4105 ---- win_T *wp = NULL; qf_info_T *qi = &ql_info; char_u *au_name = NULL; ! int save_qfid = 0; // init for gcc int res; switch (eap->cmdidx) *** ../vim-8.0.1568/src/version.c 2018-03-05 10:54:49.416071960 +0100 --- src/version.c 2018-03-05 12:41:53.838414951 +0100 *************** *** 768,769 **** --- 768,771 ---- { /* Add new patch number below this line */ + /**/ + 1569, /**/ -- Why I like vim: > I like VIM because, when I ask a question in this newsgroup, I get a > one-line answer. With xemacs, I get a 1Kb lisp script with bugs in it ;-) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///