Re: [PATCH 1/1] MINOR: lua: remove unused variable

2021-01-22 Thread Willy Tarreau
On Thu, Jan 21, 2021 at 07:14:46PM +, Bertrand Jacquin wrote: > hlua_init() uses 'idx' only in openssl related code, while 'i' is used > in shared code and is safe to be reused. This commit replaces the use of > 'idx' with 'i' (...) Ah you're right, I also met this one one. Now applied, thanks

[PATCH 1/1] MINOR: lua: remove unused variable

2021-01-21 Thread Bertrand Jacquin
hlua_init() uses 'idx' only in openssl related code, while 'i' is used in shared code and is safe to be reused. This commit replaces the use of 'idx' with 'i' $ make V=1 TARGET=linux-glibc USE_LUA=1 USE_OPENSSL= .. cc -Iinclude -O2 -g -Wall -Wextra -Wdeclaration-after-statement -fwrapv -Wn