mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 00:38:17 +00:00
vim-patch:7.4.2047
Problem: Compiler warning for initializing a struct.
Solution: Initialize in another way. (Anton Lindqvist)
bfafb4c4a0
This commit is contained in:
@@ -679,7 +679,7 @@ qf_init_ext(
|
|||||||
size_t errmsglen;
|
size_t errmsglen;
|
||||||
char_u *pattern;
|
char_u *pattern;
|
||||||
qfstate_T state = { NULL, 0, NULL, 0, NULL, NULL, NULL, NULL,
|
qfstate_T state = { NULL, 0, NULL, 0, NULL, NULL, NULL, NULL,
|
||||||
NULL, lnumfirst, lnumlast };
|
NULL, 0, 0 };
|
||||||
int col = 0;
|
int col = 0;
|
||||||
bool use_viscol = false;
|
bool use_viscol = false;
|
||||||
char_u type = 0;
|
char_u type = 0;
|
||||||
@@ -776,6 +776,8 @@ qf_init_ext(
|
|||||||
state.tv = tv;
|
state.tv = tv;
|
||||||
}
|
}
|
||||||
state.buf = buf;
|
state.buf = buf;
|
||||||
|
state.buflnum = lnumfirst;
|
||||||
|
state.lnumlast = lnumlast;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Read the lines in the error file one by one.
|
* Read the lines in the error file one by one.
|
||||||
|
@@ -393,7 +393,7 @@ static int included_patches[] = {
|
|||||||
2050,
|
2050,
|
||||||
2049,
|
2049,
|
||||||
// 2048 NA
|
// 2048 NA
|
||||||
// 2047,
|
2047,
|
||||||
2046,
|
2046,
|
||||||
// 2045 NA
|
// 2045 NA
|
||||||
// 2044,
|
// 2044,
|
||||||
|
Reference in New Issue
Block a user