To: vim_dev@googlegroups.com Subject: Patch 7.4.2047 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.2047 Problem: Compiler warning for initializing a struct. Solution: Initialize in another way. (Anton Lindqvist) Files: src/quickfix.c *** ../vim-7.4.2046/src/quickfix.c 2016-07-15 22:35:54.823345060 +0200 --- src/quickfix.c 2016-07-16 14:04:42.519169942 +0200 *************** *** 792,798 **** int errmsglen; char_u *pattern; qfstate_T state = {NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, ! NULL, lnumfirst, lnumlast}; int col = 0; char_u use_viscol = FALSE; int type = 0; --- 792,798 ---- int errmsglen; char_u *pattern; qfstate_T state = {NULL, 0, NULL, 0, NULL, NULL, NULL, NULL, ! NULL, 0, 0}; int col = 0; char_u use_viscol = FALSE; int type = 0; *************** *** 903,908 **** --- 903,910 ---- state.tv = tv; } state.buf = buf; + state.buflnum = lnumfirst; + state.lnumlast = lnumlast; /* * Read the lines in the error file one by one. *** ../vim-7.4.2046/src/version.c 2016-07-15 22:35:54.827345002 +0200 --- src/version.c 2016-07-16 14:18:11.564618863 +0200 *************** *** 760,761 **** --- 760,763 ---- { /* Add new patch number below this line */ + /**/ + 2047, /**/ -- Even got a Datapoint 3600(?) with a DD50 connector instead of the usual DB25... what a nightmare trying to figure out the pinout for *that* with no spex... /// 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 ///