diff options
author | Christian Franke <chris@opensourcerouting.org> | 2019-05-29 14:43:24 +0200 |
---|---|---|
committer | Christian Franke <chris@opensourcerouting.org> | 2019-05-29 14:43:56 +0200 |
commit | 637b00caa8b128b7acf23ab2ae5f6dbbf40d2427 (patch) | |
tree | ceda0c3ca3d90d9795f59229f8a04a84bf71faad /isisd/isis_vty_fabricd.c | |
parent | Merge pull request #4401 from manuhalo/fix_isisd_remove_conf (diff) | |
download | frr-637b00caa8b128b7acf23ab2ae5f6dbbf40d2427.tar.xz frr-637b00caa8b128b7acf23ab2ae5f6dbbf40d2427.zip |
isisd: Remove warning about shadowing a variable
There is no need to redefine `struct isis_lsp *lsp` inside of the
if condition. Let's just remove it.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_vty_fabricd.c')
-rw-r--r-- | isisd/isis_vty_fabricd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_vty_fabricd.c b/isisd/isis_vty_fabricd.c index 2476bd255..431ad9712 100644 --- a/isisd/isis_vty_fabricd.c +++ b/isisd/isis_vty_fabricd.c @@ -168,7 +168,7 @@ DEFUN (show_lsp_flooding, area->area_tag : "null"); if (lspid) { - struct isis_lsp *lsp = lsp_for_arg(head, lspid); + lsp = lsp_for_arg(head, lspid); if (lsp) lsp_print_flooding(vty, lsp); |