aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/screen.c5
-rw-r--r--src/nvim/version.c2
-rw-r--r--src/nvim/window.c2
3 files changed, 4 insertions, 5 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);
diff --git a/src/nvim/version.c b/src/nvim/version.c
index b2c795081c..61154c6de7 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -261,7 +261,7 @@ static int included_patches[] = {
//337,
//336,
335,
- //334,
+ 334,
//333 NA
//332 NA
331,
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;