]> The Tcpdump Group git mirrors - libpcap/commitdiff
Get rid of an unused variable.
authorGuy Harris <[email protected]>
Sun, 18 Dec 2016 03:25:42 +0000 (19:25 -0800)
committerGuy Harris <[email protected]>
Sun, 18 Dec 2016 03:25:42 +0000 (19:25 -0800)
pcap-bpf.c

index 9677fb7c1ab3e0d6825dcd8ae79b2b68abdc86ba..77ce278807d2baca6d3e01028146aa97ce7c871f 100644 (file)
@@ -2662,7 +2662,6 @@ finddevs_usb(pcap_if_t **alldevsp, char *errbuf)
        while ((usbitem = readdir(usbdir)) != NULL) {
                char *p;
                size_t busnumlen;
-               int err;
 
                if (strcmp(usbitem->d_name, ".") == 0 ||
                    strcmp(usbitem->d_name, "..") == 0) {