diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-10-25 21:35:04 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-10-25 21:35:04 -0400 |
| commit | 36f12ed703b13f1e4ff69077fac3d9d1a591336f (patch) | |
| tree | d31e9cf2121867144e6e455fb4b54f1090fd7b16 | |
| parent | 13c01b7e27330a0d5156fccf26b259e64423d121 (diff) | |
bgpd: write variable is never used in cli function
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| -rw-r--r-- | bgpd/bgpd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 1a3fa2c921..a2d4c0101e 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -7530,7 +7530,6 @@ static void bgp_config_write_family(struct vty *vty, struct bgp *bgp, afi_t afi, int bgp_config_write(struct vty *vty) { - int write = 0; struct bgp *bgp; struct peer_group *group; struct peer *peer; @@ -7541,9 +7540,6 @@ int bgp_config_write(struct vty *vty) vty_out(vty, "bgp route-map delay-timer %u\n", bm->rmap_update_timer); - if (write) - vty_out(vty, "!\n"); - /* BGP configuration. */ for (ALL_LIST_ELEMENTS(bm->bgp, mnode, mnnode, bgp)) { |
