]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: http-conv: Remove useless enc_type init to ENC_QUERY
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 27 Jul 2026 10:02:56 +0000 (12:02 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Jul 2026 13:21:58 +0000 (15:21 +0200)
this commit dropped a dead "enc_type = ENC_QUERY;" store that was
immediately overwritten.

src/http_conv.c

index 9e701269200899dc9c4b1c1ad8d11b6a77abaead..98e7d4f78cf174d7a48129b33ddfc52b5c0de5fb 100644 (file)
@@ -347,7 +347,6 @@ static int sample_conv_url_enc(const struct arg *args, struct sample *smp, void
        if (!trash)
                return 0;
 
-       enc_type = ENC_QUERY;
        enc_type = args->data.sint;
 
        if (enc_type == ENC_QUERY)