mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
BUILD: tools: use __fallthrough in url_decode()
This avoids one build warning when preprocessing happens before compiling with gcc >= 7.
This commit is contained in:
parent
cff89874ea
commit
7de8de0bf8
@ -2099,7 +2099,7 @@ int url_decode(char *string, int in_form)
|
|||||||
break;
|
break;
|
||||||
case '?':
|
case '?':
|
||||||
in_form = 1;
|
in_form = 1;
|
||||||
/* fall through */
|
__fallthrough;
|
||||||
default:
|
default:
|
||||||
*out++ = *in;
|
*out++ = *in;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user