diff --git a/lib/libnetlink.c b/lib/libnetlink.c index ee4f045a..0fc2cdeb 100644 --- a/lib/libnetlink.c +++ b/lib/libnetlink.c @@ -493,7 +493,7 @@ int rtnl_from_file(FILE *rtnl, rtnl_filter_t handler, nladdr.nl_groups = 0; while (1) { - int err, len, type; + int err, len; int l; status = fread(&buf, 1, sizeof(*h), rtnl); @@ -508,7 +508,6 @@ int rtnl_from_file(FILE *rtnl, rtnl_filter_t handler, return 0; len = h->nlmsg_len; - type= h->nlmsg_type; l = len - sizeof(*h); if (l<0 || len>sizeof(buf)) {