summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_abr.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-09-13 08:37:22 -0400
committerGitHub <noreply@github.com>2018-09-13 08:37:22 -0400
commitfc6eb7d827d7373a89dd04c1d809059e9ef79f9e (patch)
tree407311c755f8251639660af2ecd05cb647085005 /ospf6d/ospf6_abr.c
parent38ee5e636d116891b56327577de63ccb17d2bb05 (diff)
parentf7813c7c7fe3f6a12deb51de00bbf029b725f166 (diff)
Merge pull request #3006 from pacovn/static_analysis__shadow_variables1
bgpd isisd ospf6d ospfd: variable shadowing fixes
Diffstat (limited to 'ospf6d/ospf6_abr.c')
-rw-r--r--ospf6d/ospf6_abr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ospf6d/ospf6_abr.c b/ospf6d/ospf6_abr.c
index 7bccc78e00..586584c65c 100644
--- a/ospf6d/ospf6_abr.c
+++ b/ospf6d/ospf6_abr.c
@@ -918,9 +918,6 @@ void ospf6_abr_examin_summary(struct ospf6_lsa *lsa, struct ospf6_area *oa)
* old as the route.
*/
if (listcount(route->paths) > 1) {
- struct listnode *anode;
- struct ospf6_path *o_path;
-
for (ALL_LIST_ELEMENTS_RO(route->paths, anode,
o_path)) {
inet_ntop(AF_INET,