diff options
author | jmallett <jmallett@FreeBSD.org> | 2002-06-13 08:57:53 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2002-06-13 08:57:53 +0000 |
commit | 63759e64673ba443238a3f44a5993fe5a84b957f (patch) | |
tree | 0b34fcd944608570b68a75bc84952c2fc21d0099 | |
parent | 0ca350a1fabe42fbc0edf151825a1cbfaad9a847 (diff) | |
download | FreeBSD-src-63759e64673ba443238a3f44a5993fe5a84b957f.zip FreeBSD-src-63759e64673ba443238a3f44a5993fe5a84b957f.tar.gz |
Avoid classy use of a variable one time with a constant value.
-rw-r--r-- | usr.bin/make/buf.c | 3 |
1 files changed, 1 insertions, 2 deletions
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--; |