aboutsummaryrefslogtreecommitdiff
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorMario J. Rugiero <mrugiero@gmail.com>2019-10-16 03:12:14 -0300
committerMario J. Rugiero <mrugiero@gmail.com>2019-10-16 03:20:24 -0300
commit49f7fe8462d6201dca3bcd12d7ecf8094d44cc10 (patch)
treec2dbc54fc868bc12d9776429a5b48da4a805f7ba /pcap-linux.c
parent0faad6a9e5a185ebe332b6e586501e04c501a09c (diff)
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 4c43301a..600af4aa 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -2981,8 +2981,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;
}