pfctl: Remove unused variable
Submitted by: Nick Rogers MFC after: 1 week Sponsored by: RG Nets
This commit is contained in:
@@ -1370,13 +1370,11 @@ struct node_host *
|
|||||||
ifa_exists(char *ifa_name)
|
ifa_exists(char *ifa_name)
|
||||||
{
|
{
|
||||||
struct node_host *n;
|
struct node_host *n;
|
||||||
int s;
|
|
||||||
|
|
||||||
if (iftab == NULL)
|
if (iftab == NULL)
|
||||||
ifa_load();
|
ifa_load();
|
||||||
|
|
||||||
/* check whether this is a group */
|
/* check whether this is a group */
|
||||||
s = get_query_socket();
|
|
||||||
if (is_a_group(ifa_name)) {
|
if (is_a_group(ifa_name)) {
|
||||||
/* fake a node_host */
|
/* fake a node_host */
|
||||||
if ((n = calloc(1, sizeof(*n))) == NULL)
|
if ((n = calloc(1, sizeof(*n))) == NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user