diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-23 22:36:16 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-23 22:36:16 +0000 |
commit | c9aaaf8fe64f81724844932d61f50ad0c30fc4a4 (patch) | |
tree | 230d94a663bcc6e8977e7db717ba69c8dc694353 /usr.bin/mg/buffer.c | |
parent | 6fee94e281db17f3aee1c52d44b07d6ed26dad97 (diff) |
Get rid of unnecessary casts of NULL.
Diffstat (limited to 'usr.bin/mg/buffer.c')
-rw-r--r-- | usr.bin/mg/buffer.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/mg/buffer.c b/usr.bin/mg/buffer.c index 6eb03cabe99..d895ddb1f58 100644 --- a/usr.bin/mg/buffer.c +++ b/usr.bin/mg/buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buffer.c,v 1.13 2001/05/23 22:26:24 art Exp $ */ +/* $OpenBSD: buffer.c,v 1.14 2001/05/23 22:36:13 art Exp $ */ /* * Buffer handling. @@ -497,11 +497,9 @@ bufferinsert(f, n) /* Get buffer to use from user */ if (curbp->b_altb != NULL) s = eread("Insert buffer: (default %s) ", bufn, NBUFN, - EFNEW | EFBUF, &(curbp->b_altb->b_bname), - (char *) NULL); + EFNEW | EFBUF, &(curbp->b_altb->b_bname), NULL); else - s = eread("Insert buffer: ", bufn, NBUFN, EFNEW | EFBUF, - (char *) NULL); + s = eread("Insert buffer: ", bufn, NBUFN, EFNEW | EFBUF, NULL); if (s == ABORT) return (s); if (s == FALSE && curbp->b_altb != NULL) |