From 4799375a87f028c057613753d056434d1fe1856d Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Fri, 19 Sep 2014 15:34:48 +0100 Subject: bgpd.c: Remove unused store to variable (cherry picked from commit b2dd59ee0e74926278e128846624f5c93288223b) Conflicts: bgpd/bgpd.c --- bgpd/bgpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 36ab3e5fa..1e61b0fa2 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -1629,9 +1629,9 @@ peer_remote_as (struct bgp *bgp, union sockunion *su, const char *conf_if, if (bgp_flag_check (bgp, BGP_FLAG_NO_DEFAULT_IPV4) && afi == AFI_IP && safi == SAFI_UNICAST) - peer = peer_create (su, conf_if, bgp, local_as, *as, as_type, 0, 0, NULL); + peer_create (su, conf_if, bgp, local_as, *as, as_type, 0, 0, NULL); else - peer = peer_create (su, conf_if, bgp, local_as, *as, as_type, afi, safi, NULL); + peer_create (su, conf_if, bgp, local_as, *as, as_type, afi, safi, NULL); } return 0; -- cgit v1.2.3