Fix unused variable warning in Lua bindings