aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@steve.local>2009-07-24 12:04:09 -0700
committerGuy Harris <gharris@steve.local>2009-07-24 12:04:09 -0700
commit6e614204bbda0f3272049f4f872fef335f62a0ec (patch)
tree4559ae5704040243a93bfb8ef59da2c0e69f11b8 /pcap-linux.c
parent04740b6647842a315cebe0f0a04781daf9fd63d6 (diff)
Get rid of unused variable.
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index ced2624..d5460ec 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -2745,7 +2745,6 @@ pcap_oneshot_mmap(u_char *user, const struct pcap_pkthdr *h,
const u_char *bytes)
{
struct oneshot_userdata *sp = (struct oneshot_userdata *)user;
- bpf_u_int32 copylen;
*sp->hdr = *h;
memcpy(sp->pd->md.oneshot_buffer, bytes, h->caplen);