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:
Felipe Morales
2014-08-23 02:09:04 -04:00
parent bf3d945798
commit a8124602f0
3 changed files with 4 additions and 5 deletions

View File

@@ -5723,8 +5723,7 @@ next_search_hl (
}
shl->rm.regprog = NULL;
shl->lnum = 0;
got_int = FALSE; /* avoid the "Type :quit to exit Vim"
message */
got_int = FALSE; // avoid the "Type :quit to exit Vim" message
break;
}
} else if (cur != NULL) {

View File

@@ -261,7 +261,7 @@ static int included_patches[] = {
//337,
//336,
335,
//334,
334,
//333 NA
//332 NA
331,

View File

@@ -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;
list_T *subl;
listitem_T *subli;
int error;
int error = FALSE;
if (li == NULL) {
m->pos.pos[i].lnum = 0;