Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Quagga: Dev

[PATCH 16/25] bgpd: Remove useless initialization

 

 

Quagga dev RSS feed   Index | Next | Previous | View Threaded


jorge at dti2

May 7, 2012, 10:53 AM

Post #1 of 1 (131 views)
Permalink
[PATCH 16/25] bgpd: Remove useless initialization

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

It's initialized below

Signed-off-by: Jorge Boncompte [DTI2] <jorge [at] dti2>
---
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 [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-dev

Quagga dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.