From f66d35524962d9fe244d60115ccf253649099f39 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 10 Sep 2018 14:35:54 -0300 Subject: [PATCH] Avoid unused var in release mode --- src/app/script/engine.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/script/engine.cpp b/src/app/script/engine.cpp index 8a808de68..ac4485cda 100644 --- a/src/app/script/engine.cpp +++ b/src/app/script/engine.cpp @@ -110,7 +110,9 @@ Engine::Engine() , m_delegate(nullptr) , m_printLastResult(false) { +#if _DEBUG int top = lua_gettop(L); +#endif // Standard Lua libraries luaL_requiref(L, LUA_GNAME, luaopen_base, 1);