From 63759e64673ba443238a3f44a5993fe5a84b957f Mon Sep 17 00:00:00 2001 From: jmallett Date: Thu, 13 Jun 2002 08:57:53 +0000 Subject: Avoid classy use of a variable one time with a constant value. --- usr.bin/make/buf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.bin/make/buf.c') diff --git a/usr.bin/make/buf.c b/usr.bin/make/buf.c index ed43109..26d4890 100644 --- a/usr.bin/make/buf.c +++ b/usr.bin/make/buf.c @@ -96,9 +96,8 @@ Buf_OvAddByte (bp, byte) Buffer bp; int byte; { - int nbytes = 1; bp->left = 0; - BufExpand (bp, nbytes); + BufExpand (bp, 1); *bp->inPtr++ = byte; bp->left--; -- cgit v1.1