← Commit list

c6c19c31c

Bernhard Reutner-Fischer
Bernhard Reutner-Fischer
2019-04-07
SUCCESS Duration: 150s

Subject

ipaddress: remove unused variable no_link

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/libiproute/ipaddress.c+0 -4
@@ -424,7 +424,6 @@ int FAST_FUNC ipaddr_list_or_flush(char **argv, int flush)
struct nlmsg_list *l;
struct rtnl_handle rth;
char *filter_dev = NULL;
- int no_link = 0;
ipaddr_reset_filter(oneline);
G_filter.showqueue = 1;
@@ -516,9 +515,6 @@ int FAST_FUNC ipaddr_list_or_flush(char **argv, int flush)
struct nlmsg_list **lp;
lp = &linfo;
- if (G_filter.oneline)
- no_link = 1;
-
while ((l = *lp) != NULL) {
int ok = 0;
struct ifinfomsg *ifi = NLMSG_DATA(&l->h);