summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_clist.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-02-24 14:29:15 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-02-27 15:41:58 +0100
commit1bb379bf4e1a9e6401d6383e782b7233c90beadd (patch)
treea08e392620a4a2841af4073159c8942d7e1cdce0 /bgpd/bgp_clist.c
parentMerge pull request #5864 from kuldeepkash/route_map (diff)
downloadfrr-1bb379bf4e1a9e6401d6383e782b7233c90beadd.tar.xz
frr-1bb379bf4e1a9e6401d6383e782b7233c90beadd.zip
bgpd: Cleanup set but unused variables
There existed some variables set but never used. Clean this up. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_clist.c')
-rw-r--r--bgpd/bgp_clist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_clist.c b/bgpd/bgp_clist.c
index 7ca48a5be..18369002b 100644
--- a/bgpd/bgp_clist.c
+++ b/bgpd/bgp_clist.c
@@ -44,7 +44,7 @@ static int64_t bgp_clist_new_seq_get(struct community_list *list)
int64_t newseq;
struct community_entry *entry;
- maxseq = newseq = 0;
+ maxseq = 0;
for (entry = list->head; entry; entry = entry->next) {
if (maxseq < entry->seq)