Skip to content

Commit

Permalink
get rid of unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowman committed May 29, 2016
1 parent 873fefb commit 2751e1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions arp.c
Expand Up @@ -114,7 +114,7 @@ arpset(int argc, char *argv[])
struct sockaddr_inarp *sin;
struct sockaddr_dl *sdl;
struct rt_msghdr *rtm;
char *eaddr = argv[1], *host = argv[0];
char *eaddr, *host;
struct ether_addr *ea = NULL;
int flags = 0, set = 1, doing_proxy, export_only;

Expand Down Expand Up @@ -611,7 +611,6 @@ sec2str(time_t total)
p += n;
}
if (!first || mins) {
first = 0;
n = snprintf(p, ep - p, "%dm", mins);
if (n < 0 || n >= ep - p)
return "?";
Expand Down
1 change: 0 additions & 1 deletion if.c
Expand Up @@ -283,7 +283,6 @@ show_int(int argc, char **argv)
}

if (ippntd) {
ippntd = 0;
printf("\n");
}
freeifaddrs(ifap);
Expand Down

0 comments on commit 2751e1d

Please sign in to comment.