patch 8.2.4235: invalid check for NULL pointer
Problem: Invalid check for NULL pointer.
Solution: Remove the check.
diff --git a/src/getchar.c b/src/getchar.c
index 49eb3d7..6602eea 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -254,7 +254,7 @@
{
int len;
- if (buf->bh_curr == NULL || buf->bh_curr->b_str == NULL)
+ if (buf->bh_curr == NULL)
return; // nothing to delete
len = (int)STRLEN(buf->bh_curr->b_str);
if (len >= slen)
diff --git a/src/version.c b/src/version.c
index 7247ca7..49942b5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 4235,
+/**/
4234,
/**/
4233,