add comments about warnings
diff --git a/ospfd/ospf_network.c b/ospfd/ospf_network.c
index 7d5b730..a8d5168 100644
--- a/ospfd/ospf_network.c
+++ b/ospfd/ospf_network.c
@@ -154,6 +154,10 @@
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) )
diff --git a/ospfd/ospf_opaque.c b/ospfd/ospf_opaque.c
index 4e7b04f..01a8e1c 100644
--- a/ospfd/ospf_opaque.c
+++ b/ospfd/ospf_opaque.c
@@ -223,6 +223,7 @@
default:
if (OPAQUE_TYPE_RANGE_UNASSIGNED (opaque_type))
name = "Unassigned";
+ /* XXX warning: comparison is always true due to limited range of data type */
else if (OPAQUE_TYPE_RANGE_RESERVED (opaque_type))
name = "Private/Experimental";
break;