summaryrefslogtreecommitdiff
path: root/bgpd
diff options
context:
space:
mode:
authorJorge Boncompte [DTI2] <jorge@dti2.net>2012-05-07 16:53:06 +0000
committerDavid Lamparter <equinox@opensourcerouting.org>2012-05-22 20:25:50 +0200
commit577ac57b78e0ee3cbc5afdb5f54a660bd0126136 (patch)
treeec891bb869f46e7a4cd30c1163dfbc768587002b /bgpd
parent558d1fec11749d3257e32561d45b5c1ec0622cf4 (diff)
bgpd: Remove useless initialization
It's initialized below Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index c2045a8f..65a3ac17 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;