diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-02-13 14:21:26 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-02-13 14:39:54 +0100 |
commit | 752022670a294584ce45161a182f5b5790da45b9 (patch) | |
tree | d8bf19c32a08a1dd4ba2799ed2fee8450fe735e1 /ripd | |
parent | Merge pull request #5798 from donaldsharp/bgp_packet_reformat (diff) | |
download | frr-752022670a294584ce45161a182f5b5790da45b9.tar.xz frr-752022670a294584ce45161a182f5b5790da45b9.zip |
*: Remove break after return
Just a deadcode.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'ripd')
-rw-r--r-- | ripd/rip_snmp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ripd/rip_snmp.c b/ripd/rip_snmp.c index 7260a40b1..39e07f3c2 100644 --- a/ripd/rip_snmp.c +++ b/ripd/rip_snmp.c @@ -170,13 +170,10 @@ static uint8_t *rip2Globals(struct variable *v, oid name[], size_t *length, switch (v->magic) { case RIP2GLOBALROUTECHANGES: return SNMP_INTEGER(rip->counters.route_changes); - break; case RIP2GLOBALQUERIES: return SNMP_INTEGER(rip->counters.queries); - break; default: return NULL; - break; } return NULL; } @@ -373,7 +370,6 @@ static uint8_t *rip2IfStatEntry(struct variable *v, oid name[], size_t *length, switch (v->magic) { case RIP2IFSTATADDRESS: return SNMP_IPADDRESS(addr); - break; case RIP2IFSTATRCVBADPACKETS: *var_len = sizeof(long); return (uint8_t *)&ri->recv_badpackets; |