diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-24 08:29:27 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-02-27 09:41:58 -0500 |
| commit | 5037cc3eb4aeab3bfe1182df1ec69f554c764fa9 (patch) | |
| tree | 1b416993b8b5d75b11168d8e9a3012b0a934f046 /lib/plist.c | |
| parent | 1bb379bf4e1a9e6401d6383e782b7233c90beadd (diff) | |
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/plist.c')
| -rw-r--r-- | lib/plist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plist.c b/lib/plist.c index 2a3a087cf0..e465963f21 100644 --- a/lib/plist.c +++ b/lib/plist.c @@ -387,7 +387,7 @@ static int64_t prefix_new_seq_get(struct prefix_list *plist) int64_t newseq; struct prefix_list_entry *pentry; - maxseq = newseq = 0; + maxseq = 0; for (pentry = plist->head; pentry; pentry = pentry->next) { if (maxseq < pentry->seq) |
