mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 23:11:21 +00:00
bgpd: Coverity mistakenly believes we can fall through
Coverity has incorrectly found that a switch statement can be fallen through. It is missing the fact that the previous case statement has a return through every path it can get too. Let's just appease coverity Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
852f96eb03
commit
bc479b1b17
@ -1627,6 +1627,7 @@ static uint8_t *mplsL3vpnRteTable(struct variable *v, oid name[],
|
||||
}
|
||||
} else
|
||||
return SNMP_INTEGER(MPLSL3VPNVRFRTECIDRTYPEOTHER);
|
||||
break;
|
||||
case MPLSL3VPNVRFRTEINETCIDRPROTO:
|
||||
switch (pi->type) {
|
||||
case ZEBRA_ROUTE_CONNECT:
|
||||
|
Loading…
Reference in New Issue
Block a user