mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 15:10:38 +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);
|
||||
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user