summaryrefslogtreecommitdiffstats
path: root/lib/filter.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-02-24 14:29:27 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-02-27 15:41:58 +0100
commit5037cc3eb4aeab3bfe1182df1ec69f554c764fa9 (patch)
tree1b416993b8b5d75b11168d8e9a3012b0a934f046 /lib/filter.c
parentbgpd: Cleanup set but unused variables (diff)
downloadfrr-5037cc3eb4aeab3bfe1182df1ec69f554c764fa9.tar.xz
frr-5037cc3eb4aeab3bfe1182df1ec69f554c764fa9.zip
lib: 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 'lib/filter.c')
-rw-r--r--lib/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filter.c b/lib/filter.c
index 80f8cf0bd..3226fb2f5 100644
--- a/lib/filter.c
+++ b/lib/filter.c
@@ -412,7 +412,7 @@ static int64_t filter_new_seq_get(struct access_list *access)
int64_t newseq;
struct filter *filter;
- maxseq = newseq = 0;
+ maxseq = 0;
for (filter = access->head; filter; filter = filter->next) {
if (maxseq < filter->seq)