summaryrefslogtreecommitdiffstats
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-28 09:50:36 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-05-28 09:50:36 -0700
commit82e1d7bc0324c5b3afed465c0746d37f7fc1b13b (patch)
tree4d444851c1900201108031862f510be9e13a9c86 /zebra/interface.c
parent11a1fd54a7246ae4afc634445f3bde06cdc52892 (diff)
downloadquagga-82e1d7bc0324c5b3afed465c0746d37f7fc1b13b.tar.bz2
quagga-82e1d7bc0324c5b3afed465c0746d37f7fc1b13b.tar.xz
Fix compiler warnings
To eliminate compiler warnings * comment out unused code * fix printf formats * remove always true expression * initialize variables
Diffstat (limited to 'zebra/interface.c')
-rw-r--r--zebra/interface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index 1be55c31..916c58a6 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -833,6 +833,7 @@ if_dump_vty (struct vty *vty, struct interface *ifp)
#endif /* HAVE_NET_RT_IFLIST */
}
+#if 0
/* Check supported address family. */
static int
if_supported_family (int family)
@@ -845,6 +846,7 @@ if_supported_family (int family)
#endif /* HAVE_IPV6 */
return 0;
}
+#endif
/* Wrapper hook point for zebra daemon so that ifindex can be set
* DEFUN macro not used as extract.pl HAS to ignore this