commit | 7de8de0bf80b2aee51801bbdcd336ea1a8d0815d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Nov 14 07:20:09 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 14 11:14:02 2022 +0100 |
tree | 3166487cfc24bc5d356a951ca72308d5a8ca48cd | |
parent | cff89874eac136c65e13cc6c63240db2358cf948 [diff] |
BUILD: tools: use __fallthrough in url_decode() This avoids one build warning when preprocessing happens before compiling with gcc >= 7.
diff --git a/src/tools.c b/src/tools.c index 5f44a2f..b5b6442 100644 --- a/src/tools.c +++ b/src/tools.c
@@ -2099,7 +2099,7 @@ break; case '?': in_form = 1; - /* fall through */ + __fallthrough; default: *out++ = *in; break;