MINOR: lua: Use vars_unset_by_name_ifexist()
authorTim Duesterhus <tim@bastelstu.be>
Tue, 19 May 2020 11:49:38 +0000 (13:49 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 25 May 2020 06:12:17 +0000 (08:12 +0200)
commit94fa973f3ed8c6df00c1042863efda093f4e46c4
tree0097bccd00d5f2a4d30addbd16e773280511a5f9
parentde5021a133e27a43da1d695876dc7fded0214293
MINOR: lua: Use vars_unset_by_name_ifexist()

There is no good reason to register a variable name, just to unset
that value that could not even be set without the variable existing.

This change should be safe, may be backported if desired.
src/hlua.c