diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-13 14:37:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-13 14:37:22 +0200 |
commit | fc6eb7d827d7373a89dd04c1d809059e9ef79f9e (patch) | |
tree | 407311c755f8251639660af2ecd05cb647085005 /ospfd/ospfd.c | |
parent | Merge pull request #3009 from pacovn/static_analysis__shadow_variables3 (diff) | |
parent | bgpd isisd ospf6d ospfd: variable shadowing fixes (diff) | |
download | frr-fc6eb7d827d7373a89dd04c1d809059e9ef79f9e.tar.xz frr-fc6eb7d827d7373a89dd04c1d809059e9ef79f9e.zip |
Merge pull request #3006 from pacovn/static_analysis__shadow_variables1
bgpd isisd ospf6d ospfd: variable shadowing fixes
Diffstat (limited to 'ospfd/ospfd.c')
-rw-r--r-- | ospfd/ospfd.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index a8535fa9c..b18c5a93a 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -719,8 +719,6 @@ static void ospf_finish_final(struct ospf *ospf) ospf_lsdb_free(ospf->lsdb); for (rn = route_top(ospf->maxage_lsa); rn; rn = route_next(rn)) { - struct ospf_lsa *lsa; - if ((lsa = rn->info) != NULL) { ospf_lsa_unlock(&lsa); rn->info = NULL; @@ -756,7 +754,6 @@ static void ospf_finish_final(struct ospf *ospf) for (i = ZEBRA_ROUTE_SYSTEM; i <= ZEBRA_ROUTE_MAX; i++) { struct list *ext_list; - struct listnode *node; struct ospf_external *ext; ext_list = ospf->external[i]; |