From c989d425dc0e971c1ea6cb5233d6440839cd38fd Mon Sep 17 00:00:00 2001 From: nifi Date: Thu, 15 Nov 2007 13:33:09 +0000 Subject: [PATCH] fixed compiler warning --- core/net/rime/nbh.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/net/rime/nbh.c b/core/net/rime/nbh.c index 257a27d94..47e50e104 100644 --- a/core/net/rime/nbh.c +++ b/core/net/rime/nbh.c @@ -33,7 +33,7 @@ * * This file is part of the Contiki operating system. * - * $Id: nbh.c,v 1.2 2007/11/15 08:10:42 fros4943 Exp $ + * $Id: nbh.c,v 1.3 2007/11/15 13:33:09 nifi Exp $ */ /** @@ -52,6 +52,8 @@ #include "dev/radio-sensor.h" +#include "lib/random.h" + #if NETSIM #include "ether.h" #endif @@ -101,7 +103,7 @@ adv_packet_received(struct ibc_conn *ibc, rimeaddr_t *from) { struct nbh_conn *c = (struct nbh_conn *)ibc; struct adv_msg *msg = rimebuf_dataptr(); - struct neighbor *n; +/* struct neighbor *n; */ PRINTF("%d.%d: adv_packet_received from %d.%d with val %d\n", rimeaddr_node_addr.u8[0], rimeaddr_node_addr.u8[1],