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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui