Avoid classy use of a variable one time with a constant value.
This commit is contained in:
parent
e7ef19fadd
commit
fd7a71c1e7
@ -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--;
|
||||
|
Loading…
Reference in New Issue
Block a user