summaryrefslogtreecommitdiff
path: root/src/print_ip_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print_ip_addr.c')
-rw-r--r--src/print_ip_addr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/print_ip_addr.c b/src/print_ip_addr.c
index 1c2839d..e97edaa 100644
--- a/src/print_ip_addr.c
+++ b/src/print_ip_addr.c
@@ -29,8 +29,6 @@ const char *get_ip_addr(const char *interface) {
if (ifaddr == NULL)
return NULL;
- addrp = ifaddr;
-
/* Skip until we are at the AF_INET address of interface */
for (addrp = ifaddr;