Remove unused variable

This commit is contained in:
David Capello 2018-09-11 15:02:08 -03:00
parent 9f23f0be55
commit 83285d1717

View File

@ -40,7 +40,6 @@ void run_mt_index_code(lua_State* L)
if (luaL_loadbuffer(L, mt_index_code, sizeof(mt_index_code)-1, "internal") ||
lua_pcall(L, 0, 0, 0)) {
// Error case
std::string err;
const char* s = lua_tostring(L, -1);
if (s)
std::puts(s);