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/screen.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/screen.c')
-rw-r--r-- | src/nvim/screen.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 9b5e50cefc..d5a96489c1 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -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); |