mirror of
https://github.com/vim/vim.git
synced 2025-09-17 02:48:10 -04:00
patch 7.4.2047
Problem: Compiler warning for initializing a struct. Solution: Initialize in another way. (Anton Lindqvist)
This commit is contained in:
parent
269f595f9e
commit
bfafb4c4a0
@ -792,7 +792,7 @@ qf_init_ext(
|
||||
int errmsglen;
|
||||
char_u *pattern;
|
||||
qfstate_T state = {NULL, 0, NULL, 0, NULL, NULL, NULL, NULL,
|
||||
NULL, lnumfirst, lnumlast};
|
||||
NULL, 0, 0};
|
||||
int col = 0;
|
||||
char_u use_viscol = FALSE;
|
||||
int type = 0;
|
||||
@ -903,6 +903,8 @@ qf_init_ext(
|
||||
state.tv = tv;
|
||||
}
|
||||
state.buf = buf;
|
||||
state.buflnum = lnumfirst;
|
||||
state.lnumlast = lnumlast;
|
||||
|
||||
/*
|
||||
* Read the lines in the error file one by one.
|
||||
|
@ -758,6 +758,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2047,
|
||||
/**/
|
||||
2046,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user