Minor variable cleanup to fix compiler warnings
Minor cleanup to fix compiler warnings about unused variables.
This commit is contained in:
@@ -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++)
|
||||
|
||||
@@ -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'.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user