[quagga-dev 9310] [PATCH 16/25] bgpd: Remove useless initialization

Jorge Boncompte [DTI2] jorge at dti2.net
Mon May 7 18:53:06 BST 2012


From: "Jorge Boncompte [DTI2]" <jorge at dti2.net>

It's initialized below

Signed-off-by: Jorge Boncompte [DTI2] <jorge at dti2.net>
---
 bgpd/bgp_route.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 16c9e74..726cece 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -2455,7 +2455,7 @@ bgp_default_originate (struct peer *peer, afi_t afi, safi_t safi, int withdraw)
 {
   struct bgp *bgp;
   struct attr attr;
-  struct aspath *aspath = { 0 };
+  struct aspath *aspath;
   struct prefix p;
   struct bgp_info binfo;
   struct peer *from;
-- 
1.7.8.3





More information about the Quagga-dev mailing list