From: Thierry FOURNIER Date: Sun, 16 Jul 2017 14:35:53 +0000 (+0200) Subject: BUG/MINOR: Lua: variable already initialized X-Git-Tag: v1.8-dev3~238 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b546a604889e4b9a94891c31b1af11812bfc241;p=thirdparty%2Fhaproxy.git BUG/MINOR: Lua: variable already initialized The variable strm->hlua is already initilized by the function stream_new(). --- diff --git a/src/hlua.c b/src/hlua.c index 71812a6de1..35acff79cd 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -2356,7 +2356,6 @@ __LJMP static int hlua_socket_new(lua_State *L) /* Configure an empty Lua for the stream. */ socket->s = strm; - strm->hlua = NULL; /* Configure "right" stream interface. this "si" is used to connect * and retrieve data from the server. The connection is initialized