Clean up a couple of SA warnings in the 7.5 branch.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
evi_node, es_evi)) {
if (!CHECK_FLAG(es_evi->flags, BGP_EVPNES_EVI_LOCAL))
continue;
+
+ /* Help SA understand the following loop */
+ assert(es_evi->vpn != NULL);
+
for (ALL_LIST_ELEMENTS_RO(es_evi->vpn->export_rtl,
rt_node, ecom))
attr->ecommunity = ecommunity_merge(attr->ecommunity,
/* Run with elevated capabilities, as for all netlink activity
* we need privileges anyway. */
+ assert(nhrpd_privs.change);
nhrpd_privs.change(ZPRIVS_RAISE);
netlink_init();