summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 49eb3d7df9..6602eeac53 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -254,7 +254,7 @@ delete_buff_tail(buffheader_T *buf, int slen)
{
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)