aboutsummaryrefslogtreecommitdiff
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2019-10-16 08:51:27 -0700
committerGitHub <noreply@github.com>2019-10-16 08:51:27 -0700
commitcd5ff0253ffd1a9968af485245ea3b76c1605713 (patch)
treec5d09d359896dc32a1e4d826c17b33bd9b63fdf3 /pcap-linux.c
parent19236989728539214cf0cf1897495bac9bb3abb7 (diff)
parent49f7fe8462d6201dca3bcd12d7ecf8094d44cc10 (diff)
Merge pull request #865 from Oppen/misc-warnings
Remove dead stores.
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index ab7919bc..0f8c1049 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -2919,8 +2919,6 @@ pcap_setfilter_linux(pcap_t *handle, struct bpf_program *filter)
static int
pcap_setdirection_linux(pcap_t *handle, pcap_direction_t d)
{
- struct pcap_linux *handlep = handle->priv;
-
handle->direction = d;
return 0;
}