summaryrefslogtreecommitdiffstats
path: root/isisd/isis_adjacency.c
diff options
context:
space:
mode:
authorpaco <paco@voltanet.io>2018-06-19 10:17:03 +0200
committerpaco <paco@voltanet.io>2018-06-19 10:19:05 +0200
commit5f18adf01baeef33c6c85e3691822ee61424f238 (patch)
tree6981816997dd395e689366dcc0a031962c541622 /isisd/isis_adjacency.c
parentMerge pull request #2476 from pacovn/Coverity_1433544_Explicit_null_dereferenced (diff)
downloadfrr-5f18adf01baeef33c6c85e3691822ee61424f238.tar.xz
frr-5f18adf01baeef33c6c85e3691822ee61424f238.zip
eigrpd, isisd, lib, ospfd: no effect (cppcheck)
Assignment of function parameter has no effect outside the function. Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'isisd/isis_adjacency.c')
-rw-r--r--isisd/isis_adjacency.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/isisd/isis_adjacency.c b/isisd/isis_adjacency.c
index 81495d0a7..4b3d78421 100644
--- a/isisd/isis_adjacency.c
+++ b/isisd/isis_adjacency.c
@@ -288,7 +288,6 @@ void isis_adj_state_change(struct isis_adjacency *adj,
if (del)
isis_delete_adj(adj);
- adj = NULL;
} else if (circuit->circ_type == CIRCUIT_T_P2P) {
del = false;
for (level = IS_LEVEL_1; level <= IS_LEVEL_2; level++) {
@@ -326,8 +325,6 @@ void isis_adj_state_change(struct isis_adjacency *adj,
if (del)
isis_delete_adj(adj);
-
- adj = NULL;
}
return;