fixed unused var warning
This commit is contained in:
parent
bcd0a58537
commit
cc5f8d12d1
@ -1608,7 +1608,7 @@ void bx_ne2k_c::rx_frame(const void *buf, unsigned io_len)
|
||||
int pages;
|
||||
int avail;
|
||||
unsigned idx;
|
||||
int wrapped;
|
||||
//int wrapped;
|
||||
int nextpage;
|
||||
unsigned char pkthdr[4];
|
||||
unsigned char *pktbuf = (unsigned char *) buf;
|
||||
@ -1634,7 +1634,7 @@ void bx_ne2k_c::rx_frame(const void *buf, unsigned io_len)
|
||||
} else {
|
||||
avail = (BX_NE2K_THIS s.page_stop - BX_NE2K_THIS s.page_start) -
|
||||
(BX_NE2K_THIS s.curr_page - BX_NE2K_THIS s.bound_ptr);
|
||||
wrapped = 1;
|
||||
// wrapped = 1;
|
||||
}
|
||||
|
||||
// Avoid getting into a buffer overflow condition by not attempting
|
||||
|
Loading…
Reference in New Issue
Block a user