mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 09:22:03 +00:00
ospfd: Cleanup some clang sa issues
This commit tells the compiler we are intentionally ignoring the lsa value returned and not doing anything with ret. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
626d165d04
commit
fddbafcc9e
@ -416,7 +416,7 @@ static void ospf_aggr_handle_external_info(void *data)
|
|||||||
|
|
||||||
aggr = ospf_external_aggr_match(ospf, &ei->p);
|
aggr = ospf_external_aggr_match(ospf, &ei->p);
|
||||||
if (aggr) {
|
if (aggr) {
|
||||||
lsa = ospf_originate_summary_lsa(ospf, aggr, ei);
|
(void)ospf_originate_summary_lsa(ospf, aggr, ei);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -424,7 +424,7 @@ static void ospf_aggr_handle_external_info(void *data)
|
|||||||
if (lsa)
|
if (lsa)
|
||||||
ospf_external_lsa_refresh(ospf, lsa, ei, LSA_REFRESH_FORCE, 1);
|
ospf_external_lsa_refresh(ospf, lsa, ei, LSA_REFRESH_FORCE, 1);
|
||||||
else
|
else
|
||||||
lsa = ospf_external_lsa_originate(ospf, ei);
|
(void)ospf_external_lsa_originate(ospf, ei);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ospf_aggr_unlink_external_info(void *data)
|
static void ospf_aggr_unlink_external_info(void *data)
|
||||||
|
@ -11361,8 +11361,7 @@ DEFUN (show_ip_ospf_external_aggregator,
|
|||||||
|
|
||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
ret = ospf_show_summary_address(vty, ospf, use_vrf, json, uj,
|
ospf_show_summary_address(vty, ospf, use_vrf, json, uj, detail);
|
||||||
detail);
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
/* Default Vrf */
|
/* Default Vrf */
|
||||||
|
Loading…
Reference in New Issue
Block a user