ipft_pc: remove set-but-not-unused vars

MFC after:	3 days
This commit is contained in:
Cy Schubert 2021-12-10 20:48:17 -08:00
parent ece1946c1f
commit 712b938661

View File

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