summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/addr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/addr.c b/lib/addr.c
index 34f5633..89a3b38 100644
--- a/lib/addr.c
+++ b/lib/addr.c
@@ -321,8 +321,6 @@ int nl_addr_parse(const char *addrstr, int hint, struct nl_addr **result)
!strcasecmp(str, "all") ||
!strcasecmp(str, "any")) {
- len = 0;
-
switch (hint) {
case AF_INET:
case AF_UNSPEC: