From: Quentin Young Date: Mon, 25 Feb 2019 19:05:11 +0000 (+0000) Subject: *: remove unnecessary semicolon from switches X-Git-Tag: 7.1_pulled~195^2~8 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=5b94ec50249ae273132b010349592127df060fbb;p=matthieu%2Ffrr.git *: remove unnecessary semicolon from switches Signed-off-by: Quentin Young --- diff --git a/eigrpd/eigrp_fsm.c b/eigrpd/eigrp_fsm.c index 374114cf55..22f5a5ddb1 100644 --- a/eigrpd/eigrp_fsm.c +++ b/eigrpd/eigrp_fsm.c @@ -231,7 +231,7 @@ static const char *fsm_state2str(enum eigrp_fsm_events event) return "Query from Successor while in active state"; case EIGRP_FSM_EVENT_LR_FCN: return "Last Reply Event, Feasibility not satisfied"; - }; + } return "Unknown"; } diff --git a/isisd/isis_tlvs.c b/isisd/isis_tlvs.c index 5a6c7bc300..687542cb3e 100644 --- a/isisd/isis_tlvs.c +++ b/isisd/isis_tlvs.c @@ -1913,7 +1913,7 @@ static void format_item_auth(uint16_t mtid, struct isis_item *i, default: sbuf_push(buf, indent, " Unknown (%" PRIu8 ")\n", auth->type); break; - }; + } } static void free_item_auth(struct isis_item *i) diff --git a/lib/jhash.c b/lib/jhash.c index cb6946f37e..0d561ef3a4 100644 --- a/lib/jhash.c +++ b/lib/jhash.c @@ -116,7 +116,7 @@ uint32_t jhash(const void *key, uint32_t length, uint32_t initval) /* fallthru */ case 1: a += k[0]; - }; + } __jhash_mix(a, b, c); @@ -151,7 +151,7 @@ uint32_t jhash2(const uint32_t *k, uint32_t length, uint32_t initval) /* fallthru */ case 1: a += k[0]; - }; + } __jhash_mix(a, b, c); diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index 9aab9ea856..28f7666f87 100644 --- a/zebra/zebra_dplane.c +++ b/zebra/zebra_dplane.c @@ -520,7 +520,7 @@ const char *dplane_op2str(enum dplane_op_e op) ret = "PW_UNINSTALL"; break; - }; + } return ret; } @@ -539,7 +539,7 @@ const char *dplane_res2str(enum zebra_dplane_result res) case ZEBRA_DPLANE_REQUEST_SUCCESS: ret = "SUCCESS"; break; - }; + } return ret; } diff --git a/zebra/zebra_mpls_openbsd.c b/zebra/zebra_mpls_openbsd.c index 72c8f73522..ade36cbce4 100644 --- a/zebra/zebra_mpls_openbsd.c +++ b/zebra/zebra_mpls_openbsd.c @@ -415,7 +415,7 @@ enum zebra_dplane_result kernel_pw_update(struct zebra_dplane_ctx *ctx) break; default: break; - }; + } return result; }