diff --git a/src/iosource/pcap/pcap.bif b/src/iosource/pcap/pcap.bif index 382a059961..089c77779b 100644 --- a/src/iosource/pcap/pcap.bif +++ b/src/iosource/pcap/pcap.bif @@ -116,8 +116,6 @@ function findalldevs%(%): Pcap::Interfaces static auto ifaces_type = id::find_type("Pcap::Interfaces"); auto pcap_interfaces = make_intrusive(ifaces_type); - int i=0; - RecordVal *r; static auto iface_type = id::find_type("Pcap::Interface"); for ( d=alldevs; d; d=d->next ) {