summaryrefslogtreecommitdiffstats
path: root/lib/jhash.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-02-25 20:05:11 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-02-26 00:00:16 +0100
commit5b94ec50249ae273132b010349592127df060fbb (patch)
tree60a9f1dd6b4bfd19561a845dce4944340dc48e65 /lib/jhash.c
parent*: remove useless return variables (diff)
downloadfrr-5b94ec50249ae273132b010349592127df060fbb.tar.xz
frr-5b94ec50249ae273132b010349592127df060fbb.zip
*: remove unnecessary semicolon from switches
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/jhash.c')
-rw-r--r--lib/jhash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/jhash.c b/lib/jhash.c
index cb6946f37..0d561ef3a 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);