remove some unused variables

remove unused variable

remove unused variable
This commit is contained in:
Lion Kortlepel
2020-12-23 23:40:34 +01:00
parent a944565fb9
commit f60a44f65f
2 changed files with 0 additions and 2 deletions

View File

@@ -591,7 +591,6 @@ std::any CallFunction(Lua* lua, const std::string& FuncName, std::shared_ptr<Lua
Size = int(Arg->args.size());
Arg->PushArgs(luaState);
}
std::string Origin = lua->GetOrigin();
int R = lua_pcall(luaState, Size, 1, 0);
if (CheckLua(luaState, R)) {
if (lua_isnumber(luaState, -1)) {

View File

@@ -201,7 +201,6 @@ void GlobalParser(Client* c, const std::string& Pack) {
return;
std::any Res;
std::string Packet = Pack.substr(0, strlen(Pack.c_str()));
std::string pct;
char Code = Packet.at(0);
//V to Z