summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/vi/common/util.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/vi/common/util.c b/usr.bin/vi/common/util.c
index 1ed7f6e13d0..f71c6089dcf 100644
--- a/usr.bin/vi/common/util.c
+++ b/usr.bin/vi/common/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.16 2017/11/10 18:31:36 martijn Exp $ */
+/* $OpenBSD: util.c,v 1.17 2018/07/11 06:39:23 martijn Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
@@ -45,10 +45,6 @@ binc(SCR *sp, void *bp, size_t *bsizep, size_t min)
REALLOC(sp, bp, csize);
if (bp == NULL) {
- /*
- * Theoretically, realloc is supposed to leave any already
- * held memory alone if it can't get more. Don't trust it.
- */
*bsizep = 0;
return (NULL);
}