--- dhcp_probe-1.3.0/src/dhcp_probe.c.orig 2009-03-09 21:17:47.000000000 +0100 +++ dhcp_probe-1.3.0/src/dhcp_probe.c 2009-11-19 18:09:26.000000000 +0100 @@ -84,7 +84,6 @@ struct sigaction sa; FILE *pid_fp; char *cwd = CWD; - int i; int write_packet_len; int bytes_written; @@ -98,9 +97,6 @@ int linktype; char pcap_errbuf[PCAP_ERRBUF_SIZE], pcap_errbuf2[PCAP_ERRBUF_SIZE]; - /* for libnet */ - char libnet_errbuf[LIBNET_ERRBUF_SIZE]; - /* get progname = last component of argv[0] */ prog = strrchr(argv[0], '/'); if (prog) @@ -987,8 +983,6 @@ Must not be called until after initial configuration is complete. */ - int i; - if (! read_configfile(config_file)) { my_exit(1, 1, 1); }