Minor variable cleanup to fix compiler warnings

Minor cleanup to fix compiler warnings about unused variables.
This commit is contained in:
Michael Rash
2011-08-14 22:46:09 -04:00
parent e7d275ee31
commit 60b6a5a4d8
2 changed files with 3 additions and 2 deletions
-2
View File
@@ -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++)
+3
View File
@@ -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'.
*/