[Olsr-dev] [PATCH 02/12] neighbor_table: remove unused variable
Ferry Huberts
(spam-protected)
Thu Jun 9 13:42:48 CEST 2011
From: Ferry Huberts <(spam-protected)>
src/neighbor_table.c:73:26: warning: variable ‘nbr’ set but not used [-Wunused-but-set-variable]
Signed-off-by: Ferry Huberts <(spam-protected)>
---
src/neighbor_table.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/neighbor_table.c b/src/neighbor_table.c
index 2ae9a49..7e3126e 100644
--- a/src/neighbor_table.c
+++ b/src/neighbor_table.c
@@ -70,10 +70,8 @@ olsr_init_neighbor_table(void)
static void
olsr_del_nbr2_list(struct neighbor_2_list_entry *nbr2_list)
{
- struct neighbor_entry *nbr;
struct neighbor_2_entry *nbr2;
- nbr = nbr2_list->nbr2_nbr;
nbr2 = nbr2_list->neighbor_2;
if (nbr2->neighbor_2_pointer < 1) {
--
1.7.5.2
More information about the Olsr-dev
mailing list