]> git.kaiwu.me - haproxy.git/commit
MINOR: vars: Set variable type to ANY upon creation
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Thu, 16 Dec 2021 16:14:35 +0000 (17:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 16 Dec 2021 16:31:31 +0000 (17:31 +0100)
commit1bd98050853357bd8b2b482772fab3ba14148404
tree25a9aa5f70b6e18a73210e4e892eb45bafa60eb7
parent7055301934e3951270eac999b8f9168a81f81ed8
MINOR: vars: Set variable type to ANY upon creation

The type of a newly created variable was not initialized. This patch
sets it to SMP_T_ANY by default. This will be required when conditions
can be added to a set-var call because we might end up creating a
variable without setting it yet.
src/vars.c