diff --git a/server/access.c b/server/access.c index dc4dd81f..13fbe230 100644 --- a/server/access.c +++ b/server/access.c @@ -361,8 +361,6 @@ expand_acc_string_list(acc_string_list_t **stlist, char *stlist_str) char *ndx, *start; char buf[1024]; - int stlen = strlen(stlist_str); - start = stlist_str; for(ndx = start; *ndx; ndx++) diff --git a/server/pcap_capture.c b/server/pcap_capture.c index 6de35624..30c6d45c 100644 --- a/server/pcap_capture.c +++ b/server/pcap_capture.c @@ -60,7 +60,10 @@ pcap_capture(fko_srv_options_t *opts) int promisc = 0; int status; pid_t child_pid; + +#if FIREWALL_IPFW time_t now; +#endif /* Set promiscuous mode if ENABLE_PCAP_PROMISC is set to 'Y'. */