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,9 +5723,8 @@ next_search_hl (
}
shl->rm.regprog = NULL;
shl->lnum = 0;
got_int = FALSE; /* avoid the "Type :quit to exit Vim"
message */
break;
got_int = FALSE; // avoid the "Type :quit to exit Vim" message
break;
}
} else if (cur != NULL) {
nmatched = next_search_hl_pos(shl, lnum, &(cur->pos), matchcol);