From 7de8de0bf80b2aee51801bbdcd336ea1a8d0815d Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 14 Nov 2022 07:20:09 +0100 Subject: [PATCH] BUILD: tools: use __fallthrough in url_decode() This avoids one build warning when preprocessing happens before compiling with gcc >= 7. --- src/tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools.c b/src/tools.c index 5f44a2f0c..b5b6442b3 100644 --- a/src/tools.c +++ b/src/tools.c @@ -2099,7 +2099,7 @@ int url_decode(char *string, int in_form) break; case '?': in_form = 1; - /* fall through */ + __fallthrough; default: *out++ = *in; break;