mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 03:58:32 +00:00
vim-patch: 7.4.334
Problem: Unitialized variables, causing some problems. Solution: Initialize the variables. (Dominique Pelle) https://code.google.com/p/vim/source/detail?r=03d260a8ea0c0c67f424c387dbe2af5754e5e589
This commit is contained in:
@@ -5723,9 +5723,8 @@ next_search_hl (
|
|||||||
}
|
}
|
||||||
shl->rm.regprog = NULL;
|
shl->rm.regprog = NULL;
|
||||||
shl->lnum = 0;
|
shl->lnum = 0;
|
||||||
got_int = FALSE; /* avoid the "Type :quit to exit Vim"
|
got_int = FALSE; // avoid the "Type :quit to exit Vim" message
|
||||||
message */
|
break;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
} else if (cur != NULL) {
|
} else if (cur != NULL) {
|
||||||
nmatched = next_search_hl_pos(shl, lnum, &(cur->pos), matchcol);
|
nmatched = next_search_hl_pos(shl, lnum, &(cur->pos), matchcol);
|
||||||
|
@@ -261,7 +261,7 @@ static int included_patches[] = {
|
|||||||
//337,
|
//337,
|
||||||
//336,
|
//336,
|
||||||
335,
|
335,
|
||||||
//334,
|
334,
|
||||||
//333 NA
|
//333 NA
|
||||||
//332 NA
|
//332 NA
|
||||||
331,
|
331,
|
||||||
|
@@ -5263,7 +5263,7 @@ int match_add(win_T *wp, char_u *grp, char_u *pat, int prio, int id, list_T *pos
|
|||||||
int len = 1;
|
int len = 1;
|
||||||
list_T *subl;
|
list_T *subl;
|
||||||
listitem_T *subli;
|
listitem_T *subli;
|
||||||
int error;
|
int error = FALSE;
|
||||||
|
|
||||||
if (li == NULL) {
|
if (li == NULL) {
|
||||||
m->pos.pos[i].lnum = 0;
|
m->pos.pos[i].lnum = 0;
|
||||||
|
Reference in New Issue
Block a user