diff options
author | paco <paco@voltanet.io> | 2018-06-12 14:41:19 +0200 |
---|---|---|
committer | paco <paco@voltanet.io> | 2018-06-12 14:41:19 +0200 |
commit | b42664f473a4d9564ebcb2ddd004f55322eb536e (patch) | |
tree | ac956a4872277874f0afb66b0e8d9a9ddac3a6cb /ospfd | |
parent | Merge pull request #2298 from qlyoung/pipe-actions-vtysh (diff) | |
download | frr-b42664f473a4d9564ebcb2ddd004f55322eb536e.tar.xz frr-b42664f473a4d9564ebcb2ddd004f55322eb536e.zip |
ospfd: logically dead code (Coverity 1399236)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'ospfd')
-rw-r--r-- | ospfd/ospf_vty.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index 21567c6ce..2bd9cfd49 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -8176,9 +8176,6 @@ DEFUN (ospf_redistribute_instance_source, instance = strtoul(argv[idx_number]->arg, NULL, 10); - if (!ospf) - return CMD_SUCCESS; - if ((source == ZEBRA_ROUTE_OSPF) && !ospf->instance) { vty_out(vty, "Instance redistribution in non-instanced OSPF not allowed\n"); |