summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/version.c2
-rw-r--r--src/window.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c
index a1edd07d7..4b2ff6f5d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 502,
+/**/
501,
/**/
500,
diff --git a/src/window.c b/src/window.c
index eed0ea9e7..2ef319805 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3806,6 +3806,7 @@ close_tabpage(tabpage_T *tab)
for (ptp = first_tabpage; ptp != NULL && ptp->tp_next != tab;
ptp = ptp->tp_next)
;
+ assert(ptp != NULL);
ptp->tp_next = tab->tp_next;
}