]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: ot: removed dead code in flt_ot_parse_cfg_str()
authorMiroslav Zagorac <mzagorac@haproxy.com>
Wed, 18 Jan 2023 16:14:16 +0000 (17:14 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 13 Apr 2026 07:23:30 +0000 (09:23 +0200)
commit9fa34e592a324579b1ede4f7dd8a2ee756a675e1
tree076a32be7aa276d93b45c707d4e5c439e579bb94
parentde41121c0c32503cf557b0c0ae96ba91d691c053
BUG/MINOR: ot: removed dead code in flt_ot_parse_cfg_str()

The local variable str was declared but never assigned a value other than
NULL.  The error-handling block that called flt_ot_conf_str_free(&str) on
it was therefore a no-op.  Removed both the unused variable and the dead
cleanup path.
addons/ot/src/parser.c