Skip to content
Snippets Groups Projects
Commit 9093daac authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Fix warning on gcc 5.2

Check result of lua_pcall()
parent 57719e1b
No related branches found
No related tags found
No related merge requests found
......@@ -445,7 +445,8 @@ tarantool_lua_init(const char *tarantool_bin, int argc, char **argv)
#ifdef NDEBUG
/* Unload strict after boot in release mode */
luaL_dostring(L, "require('strict').off()");
if (luaL_dostring(L, "require('strict').off()") != 0)
panic("Failed to unload 'strict' Lua module");
#endif /* NDEBUG */
/* clear possible left-overs of init */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment