Mailing List Archive

[PATCH 16/25] bgpd: Remove useless initialization
From: "Jorge Boncompte [DTI2]" <jorge@dti2.net>

It's initialized below

Signed-off-by: Jorge Boncompte [DTI2] <jorge@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


_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-dev