Avoid classy use of a variable one time with a constant value.

This commit is contained in:
jmallett 2002-06-13 08:57:53 +00:00
parent e7ef19fadd
commit fd7a71c1e7

View File

@ -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--;