summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_network.c
diff options
context:
space:
mode:
authorgdt <gdt>2004-12-09 15:49:51 +0100
committergdt <gdt>2004-12-09 15:49:51 +0100
commitf4436f7bb8234f86a1a38e2d8497b70a448a7246 (patch)
treec92d79e64baf36912260617b238f9158f3ba5ffb /ospfd/ospf_network.c
parentAdd const to char * to quiet warnings. (diff)
downloadfrr-f4436f7bb8234f86a1a38e2d8497b70a448a7246.tar.xz
frr-f4436f7bb8234f86a1a38e2d8497b70a448a7246.zip
add comments about warnings
Diffstat (limited to 'ospfd/ospf_network.c')
-rw-r--r--ospfd/ospf_network.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ospfd/ospf_network.c b/ospfd/ospf_network.c
index 7d5b7301d..a8d516818 100644
--- a/ospfd/ospf_network.c
+++ b/ospfd/ospf_network.c
@@ -154,6 +154,10 @@ int
ospf_sock_init (void)
{
int ospf_sock;
+ /*
+ * XXX warning: unused variable `tos'
+ * tos should be ifdefed similarly to usage
+ */
int ret, tos, hincl = 1;
if ( ospfd_privs.change (ZPRIVS_RAISE) )