From: Paul Jakma Date: Fri, 19 Sep 2014 14:34:48 +0000 (+0100) Subject: bgpd.c: Remove unused store to variable X-Git-Tag: frr-2.0-rc1~677 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=4799375a87f028c057613753d056434d1fe1856d;p=matthieu%2Ffrr.git bgpd.c: Remove unused store to variable (cherry picked from commit b2dd59ee0e74926278e128846624f5c93288223b) Conflicts: bgpd/bgpd.c --- diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 36ab3e5fa7..1e61b0fa2c 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;