diff options
author | Felipe Morales <hel.sheep@gmail.com> | 2014-08-23 02:09:04 -0400 |
---|---|---|
committer | Felipe Morales <hel.sheep@gmail.com> | 2014-09-04 00:18:24 -0400 |
commit | a8124602f00c5142493526b43cd21b89dcbfef3f (patch) | |
tree | 40619f0b0ed74e9af04c76d86cc3f49252a5bfc0 /src/nvim/window.c | |
parent | bf3d9457981c372bb33155045b070facffd01f65 (diff) | |
download | rneovim-a8124602f00c5142493526b43cd21b89dcbfef3f.tar.gz rneovim-a8124602f00c5142493526b43cd21b89dcbfef3f.tar.bz2 rneovim-a8124602f00c5142493526b43cd21b89dcbfef3f.zip |
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
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r-- | src/nvim/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index 536bfa2c5e..2e4e7f2992 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -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; |