mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.780
Problem: Compiler complains about uninitialized variable and clobbered
variables.
Solution: Add Initialization. Make variables static.
1db43b1145
This commit is contained in:
parent
d050d6390d
commit
b20b8f9f04
@ -4230,7 +4230,7 @@ int do_addsub(int command, linenr_T Prenum1, bool g_cmd)
|
|||||||
bool visual = VIsual_active;
|
bool visual = VIsual_active;
|
||||||
int lnum = curwin->w_cursor.lnum;
|
int lnum = curwin->w_cursor.lnum;
|
||||||
int lnume = curwin->w_cursor.lnum;
|
int lnume = curwin->w_cursor.lnum;
|
||||||
int startcol;
|
int startcol = 0;
|
||||||
bool did_change = false;
|
bool did_change = false;
|
||||||
|
|
||||||
dohex = (vim_strchr(curbuf->b_p_nf, 'x') != NULL); // "heX"
|
dohex = (vim_strchr(curbuf->b_p_nf, 'x') != NULL); // "heX"
|
||||||
|
@ -354,7 +354,7 @@ static int included_patches[] = {
|
|||||||
// 783 NA
|
// 783 NA
|
||||||
// 782,
|
// 782,
|
||||||
781,
|
781,
|
||||||
// 780 NA
|
780,
|
||||||
779,
|
779,
|
||||||
778,
|
778,
|
||||||
// 777 NA
|
// 777 NA
|
||||||
|
Loading…
Reference in New Issue
Block a user