- mark argument who of print_route as unused.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 12 Jan 2006 12:08:46 +0000 (12:08 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 12 Jan 2006 12:08:46 +0000 (12:08 -0000)
networking/libiproute/iproute.c

index d7900d62e41181e96148f7c0cb00aaad6d57c2b0..a15fc81dcaa0e4734144a0adb80117c421095204 100644 (file)
@@ -1,3 +1,4 @@
+/* vi: set sw=4 ts=4: */
 /*
  * iproute.c           "ip route".
  *
@@ -62,7 +63,8 @@ static int flush_update(void)
        return 0;
 }
 
-static int print_route(struct sockaddr_nl *who, struct nlmsghdr *n, void *arg)
+static int print_route(struct sockaddr_nl *who __attribute__((unused)),
+               struct nlmsghdr *n, void *arg)
 {
        FILE *fp = (FILE*)arg;
        struct rtmsg *r = NLMSG_DATA(n);