[master] cccb533f2 Drop explicit FALLTHROUGHs for consecutive cases

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Feb 24 07:15:09 UTC 2020


commit cccb533f218eddef728eca48e415f2036543c953
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Feb 24 08:13:38 2020 +0100

    Drop explicit FALLTHROUGHs for consecutive cases

diff --git a/lib/libvarnish/vsb.c b/lib/libvarnish/vsb.c
index 8964971f2..e0b48c50e 100644
--- a/lib/libvarnish/vsb.c
+++ b/lib/libvarnish/vsb.c
@@ -611,13 +611,9 @@ VSB_quote_pfx(struct vsb *s, const char *pfx, const void *v, int len, int how)
 				(void)VSB_cat(s, "\\v");
 			break;
 		case '[':
-			/* FALLTHROUGH */
 		case ']':
-			/* FALLTHROUGH */
 		case '{':
-			/* FALLTHROUGH */
 		case '}':
-			/* FALLTHROUGH */
 		case '*':
 			if (how & VSB_QUOTE_GLOB)
 				(void)VSB_putc(s, '\\');


More information about the varnish-commit mailing list