[Olsr-cvs] olsrd-current/src mpr.c,1.18,1.19
Bernd Petrovitsch
(spam-protected)
Sun Oct 21 22:53:15 CEST 2007
Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv31195/src
Modified Files:
mpr.c
Log Message:
* avoid useless warnings
Index: mpr.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/mpr.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** mpr.c 5 Oct 2007 08:06:12 -0000 1.18
--- mpr.c 21 Oct 2007 20:53:13 -0000 1.19
***************
*** 593,601 ****
}
-
-
void
olsr_print_mpr_set(void)
{
int index;
--- 593,601 ----
}
void
olsr_print_mpr_set(void)
{
+ #ifndef NODEBUG
+ /* The whole function makes no sense without it. */
int index;
***************
*** 617,619 ****
--- 617,620 ----
}
OLSR_PRINTF(1, "\n");
+ #endif
}
More information about the Olsr-cvs
mailing list