]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: arg: remove extra check in make_arg_list arg escaping
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 22 Nov 2022 10:48:12 +0000 (11:48 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Nov 2022 15:27:52 +0000 (16:27 +0100)
commitac1ca5cc7b69df0c3cfc218ca5645b2f36bd8421
tree60e1e204ce7ea00c864c192377ef6fc1b9aece3b
parentab9efc25f07b9870c827e2da05fe23a084a8b8f4
CLEANUP: arg: remove extra check in make_arg_list arg escaping

Len cannot be equal to 1 when entering in escape handling code.
But yet, an extra "len == 1" check was performed.

Removing this useless check.

This was reported by Ilya with the help of cppcheck.
src/arg.c