[Olsr-dev] [olsrd] [PATCH v1 26/29] gateway: remove an unused variable in olsr_update_gateway_entry

Ferry Huberts (spam-protected)
Tue Jul 24 18:09:15 CEST 2012


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 src/gateway.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/src/gateway.c b/src/gateway.c
index bcbcd23..86b3676 100644
--- a/src/gateway.c
+++ b/src/gateway.c
@@ -287,9 +287,7 @@ olsr_update_gateway_entry(union olsr_ip_addr *originator, union olsr_ip_addr *ma
   uint8_t *ptr = OLSR_IP_ADDR_2_HNA_PTR(mask, prefixlen);
 
   if (!gw) {
-    struct ipaddr_str buf;
     gw = olsr_cookie_malloc(gw_mem_cookie);
-
     gw->originator = *originator;
     gw->node.key = &gw->originator;
 
-- 
1.7.10.4





More information about the Olsr-dev mailing list