From 016d429d8d45f8043047cc66069ca793e0802da0 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 19 Feb 2017 15:59:09 +0000 Subject: [PATCH] [Minor] Do not set file vars by default in lua ucl --- contrib/libucl/lua_ucl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/libucl/lua_ucl.c b/contrib/libucl/lua_ucl.c index 965dcc9c1..62b0652f5 100644 --- a/contrib/libucl/lua_ucl.c +++ b/contrib/libucl/lua_ucl.c @@ -29,7 +29,6 @@ #include "ucl_internal.h" #include "lua_ucl.h" #include -#include /*** * @module ucl @@ -484,7 +483,7 @@ static int lua_ucl_parser_init (lua_State *L) { struct ucl_parser *parser, **pparser; - int flags = 0; + int flags = UCL_PARSER_NO_FILEVARS; if (lua_gettop (L) >= 1) { flags = lua_tonumber (L, 1); -- 2.39.5