From 81997b327c908a618e7c0b4e0be6103eb71fb6de Mon Sep 17 00:00:00 2001 From: Aaron Marcher Date: Fri, 9 Sep 2016 19:21:26 +0200 Subject: [PATCH] removed more unneeded comments --- slstatus.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/slstatus.c b/slstatus.c index 3675660..73dc5a3 100644 --- a/slstatus.c +++ b/slstatus.c @@ -277,7 +277,6 @@ ip(const char *interface) return smprintf(UNKNOWN_STR); } - /* get the ip address */ for (ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next) { if (ifa->ifa_addr == NULL) continue; @@ -294,7 +293,6 @@ ip(const char *interface) } } - /* free the address */ freeifaddrs(ifaddr); return smprintf(UNKNOWN_STR);