mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 11:33:48 +00:00
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>
This commit is contained in:
parent
362e887852
commit
637b00caa8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user