diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-04-21 07:57:19 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-04-21 07:57:19 -0400 | 
| commit | bc479b1b17b3f12b487f4164966b35d1ec08fede (patch) | |
| tree | 47b790e57b4da47d0a3f9e33d8ce5ada147db7a1 /bgpd/bgp_mplsvpn_snmp.c | |
| parent | 852f96eb036a1bfba878467dc5b378d62f8c87ca (diff) | |
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>
Diffstat (limited to 'bgpd/bgp_mplsvpn_snmp.c')
| -rw-r--r-- | bgpd/bgp_mplsvpn_snmp.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_mplsvpn_snmp.c b/bgpd/bgp_mplsvpn_snmp.c index 20fec6d77b..0208a6f5a5 100644 --- a/bgpd/bgp_mplsvpn_snmp.c +++ b/bgpd/bgp_mplsvpn_snmp.c @@ -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:  | 
