summaryrefslogtreecommitdiffstats
path: root/lib/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/session.c')
-rw-r--r--lib/session.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/session.c b/lib/session.c
index 2ff463e..01a2413 100644
--- a/lib/session.c
+++ b/lib/session.c
@@ -738,7 +738,6 @@ list_adt(struct ipset_session *session, struct nlattr *nla[])
const struct ipset_data *data = session->data;
const struct ipset_type *type;
const struct ipset_arg *arg;
- uint8_t family;
int i, found = 0;
D("enter");
@@ -750,7 +749,6 @@ list_adt(struct ipset_session *session, struct nlattr *nla[])
if (type == NULL)
return MNL_CB_ERROR;
- family = ipset_data_family(data);
for (i = IPSET_ATTR_UNSPEC + 1; i <= IPSET_ATTR_ADT_MAX; i++)
if (nla[i]) {