diff options
author | Paul Jakma <paul@opensourcerouting.org> | 2014-09-19 16:34:48 +0200 |
---|---|---|
committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-05-26 21:01:26 +0200 |
commit | 4799375a87f028c057613753d056434d1fe1856d (patch) | |
tree | 482fbf6017c485eeed4c833d49b0b7b7b8aaa70f | |
parent | Fix most compiler warnings in default GCC build. (diff) | |
download | frr-4799375a87f028c057613753d056434d1fe1856d.tar.xz frr-4799375a87f028c057613753d056434d1fe1856d.zip |
bgpd.c: Remove unused store to variable
(cherry picked from commit b2dd59ee0e74926278e128846624f5c93288223b)
Conflicts:
bgpd/bgpd.c
-rw-r--r-- | bgpd/bgpd.c | 4 |
1 files 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; |