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:
watiko 2016-01-15 17:06:38 +09:00
parent d050d6390d
commit b20b8f9f04
2 changed files with 2 additions and 2 deletions

View File

@ -4230,7 +4230,7 @@ int do_addsub(int command, linenr_T Prenum1, bool g_cmd)
bool visual = VIsual_active;
int lnum = curwin->w_cursor.lnum;
int lnume = curwin->w_cursor.lnum;
int startcol;
int startcol = 0;
bool did_change = false;
dohex = (vim_strchr(curbuf->b_p_nf, 'x') != NULL); // "heX"

View File

@ -354,7 +354,7 @@ static int included_patches[] = {
// 783 NA
// 782,
781,
// 780 NA
780,
779,
778,
// 777 NA