]> git.puffer.fish Git - matthieu/frr.git/commitdiff
*: remove unnecessary semicolon from switches
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 25 Feb 2019 19:05:11 +0000 (19:05 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 25 Feb 2019 23:00:16 +0000 (23:00 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
eigrpd/eigrp_fsm.c
isisd/isis_tlvs.c
lib/jhash.c
zebra/zebra_dplane.c
zebra/zebra_mpls_openbsd.c

index 374114cf559dd279fa4935c895d8e8dddb756df9..22f5a5ddb1cb22f0ba525d933673d015ab4394a1 100644 (file)
@@ -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";
 }
index 5a6c7bc3003718a36561f59771a09a5239482c21..687542cb3ee921e73ba6150c522c303fd4f659aa 100644 (file)
@@ -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)
index cb6946f37e7c40902153095fb8170419104d2bfc..0d561ef3a4f25db2b60725e9fdb63a0ff2b6af45 100644 (file)
@@ -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);
 
index 9aab9ea8560298ff7ec8d3d5806bbecd9f06f21e..28f7666f87797e87c787251f6cbd04790454ee31 100644 (file)
@@ -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;
 }
index 72c8f73522116c41965231cb784fd661c93b4baa..ade36cbce4e1c60fb00db1023df26267ad378e1c 100644 (file)
@@ -415,7 +415,7 @@ enum zebra_dplane_result kernel_pw_update(struct zebra_dplane_ctx *ctx)
                break;
        default:
                break;
-       };
+       }
 
        return result;
 }