ipft_pc: remove set-but-not-unused vars
MFC after: 3 days
This commit is contained in:
parent
ece1946c1f
commit
712b938661
@ -138,16 +138,13 @@ static int ipcap_read_rec(rec)
|
||||
packetheader_t *rec;
|
||||
{
|
||||
int n, p, i;
|
||||
char *s;
|
||||
|
||||
s = (char *)rec;
|
||||
n = sizeof(*rec);
|
||||
|
||||
while (n > 0) {
|
||||
i = read(pfd, (char *)rec, sizeof(*rec));
|
||||
if (i <= 0)
|
||||
return -2;
|
||||
s += i;
|
||||
n -= i;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user