mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 03:42:57 +00:00
Merge pull request #7459 from donaldsharp/clang_more_stuff_to_cleanup
Clang more stuff to cleanup
This commit is contained in:
commit
f52e45dbdb
@ -416,7 +416,7 @@ static void ospf_aggr_handle_external_info(void *data)
|
||||
|
||||
aggr = ospf_external_aggr_match(ospf, &ei->p);
|
||||
if (aggr) {
|
||||
lsa = ospf_originate_summary_lsa(ospf, aggr, ei);
|
||||
(void)ospf_originate_summary_lsa(ospf, aggr, ei);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -424,7 +424,7 @@ static void ospf_aggr_handle_external_info(void *data)
|
||||
if (lsa)
|
||||
ospf_external_lsa_refresh(ospf, lsa, ei, LSA_REFRESH_FORCE, 1);
|
||||
else
|
||||
lsa = ospf_external_lsa_originate(ospf, ei);
|
||||
(void)ospf_external_lsa_originate(ospf, ei);
|
||||
}
|
||||
|
||||
static void ospf_aggr_unlink_external_info(void *data)
|
||||
|
@ -11361,8 +11361,7 @@ DEFUN (show_ip_ospf_external_aggregator,
|
||||
|
||||
return CMD_SUCCESS;
|
||||
}
|
||||
ret = ospf_show_summary_address(vty, ospf, use_vrf, json, uj,
|
||||
detail);
|
||||
ospf_show_summary_address(vty, ospf, use_vrf, json, uj, detail);
|
||||
|
||||
} else {
|
||||
/* Default Vrf */
|
||||
|
@ -1766,9 +1766,11 @@ DEFPY (show_route,
|
||||
if (vrf_name)
|
||||
VRF_GET_ID(vrf_id, vrf_name, !!json);
|
||||
vrf = vrf_lookup_by_id(vrf_id);
|
||||
if (vrf)
|
||||
zvrf = vrf->info;
|
||||
if (!vrf || !zvrf)
|
||||
if (!vrf)
|
||||
return CMD_SUCCESS;
|
||||
|
||||
zvrf = vrf->info;
|
||||
if (!zvrf)
|
||||
return CMD_SUCCESS;
|
||||
|
||||
if (table_all)
|
||||
|
Loading…
Reference in New Issue
Block a user