pfctl: remove set but unused variable
In pfctl_show_ifaces() `i` is set, but never used. Remove it. Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
9f1beeaed4
commit
1be25bdb73
@ -585,7 +585,6 @@ pfctl_show_ifaces(const char *filter, int opts)
|
||||
{
|
||||
struct pfr_buffer b;
|
||||
struct pfi_kif *p;
|
||||
int i = 0;
|
||||
|
||||
bzero(&b, sizeof(b));
|
||||
b.pfrb_type = PFRB_IFACES;
|
||||
@ -598,7 +597,6 @@ pfctl_show_ifaces(const char *filter, int opts)
|
||||
}
|
||||
if (b.pfrb_size <= b.pfrb_msize)
|
||||
break;
|
||||
i++;
|
||||
}
|
||||
if (opts & PF_OPT_SHOWALL)
|
||||
pfctl_print_title("INTERFACES:");
|
||||
|
Loading…
Reference in New Issue
Block a user