]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cfgparse/log: remove leftover dead code
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 25 Jun 2024 16:31:29 +0000 (18:31 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Wed, 26 Jun 2024 09:06:31 +0000 (11:06 +0200)
commitbcf98c9b5f00855cf82eff0bcb71f142cb234bb2
tree02990c0ac189f176aa0197396cb8c5aac263a956
parent185d230e2c615ee723270c81e4eb1eec20181918
MINOR: cfgparse/log: remove leftover dead code

Remove development leftover introduced by commit 15e9c7da6 ("MINOR: log:
add log-profile parsing logic").

Indeed, since "log-profile" section keyword is registered via
REGISTER_CONFIG_SECTION() macro, it is not relevant to declare it in
common_kw_list[] from cfgparse-global.c. All it does is that it could
confuse the user by suggesting him to use "log-profile" inside a global
section when trying to find a best match in cfg_parse_global().
src/cfgparse-global.c