1
0
mirror of git://git.suckless.org/slstatus synced 2024-12-11 17:05:44 +00:00

removed more unneeded comments

This commit is contained in:
Aaron Marcher 2016-09-09 19:21:26 +02:00 committed by Aaron Marcher (drkhsh)
parent 545f1560e6
commit 81997b327c

View File

@ -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);