[Olsr-cvs] olsrd-current/src link_set.c,1.74,1.75
Bernd Petrovitsch
(spam-protected)
Sun Oct 21 22:09:11 CEST 2007
Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13962/src
Modified Files:
link_set.c
Log Message:
* avoid warnings
Index: link_set.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/link_set.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -C2 -d -r1.74 -r1.75
*** link_set.c 5 Oct 2007 20:10:24 -0000 1.74
--- link_set.c 21 Oct 2007 20:09:09 -0000 1.75
***************
*** 949,952 ****
--- 949,954 ----
void olsr_print_link_set(void)
{
+ #ifndef NODEBUG
+ /* The whole function makes no sense without it. */
struct link_entry *walker;
const int addrsize = olsr_cnf->ip_version == AF_INET ? 15 : 39;
***************
*** 977,980 ****
--- 979,983 ----
etx);
}
+ #endif
}
More information about the Olsr-cvs
mailing list