From f60a44f65f795ce460f94e3a6e210466e1e9e1b4 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Wed, 23 Dec 2020 23:40:34 +0100 Subject: [PATCH] remove some unused variables remove unused variable remove unused variable --- src/Lua/LuaSystem.cpp | 1 - src/Network/GParser.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/Lua/LuaSystem.cpp b/src/Lua/LuaSystem.cpp index af2a593..8dcbc08 100644 --- a/src/Lua/LuaSystem.cpp +++ b/src/Lua/LuaSystem.cpp @@ -591,7 +591,6 @@ std::any CallFunction(Lua* lua, const std::string& FuncName, std::shared_ptrargs.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)) { diff --git a/src/Network/GParser.cpp b/src/Network/GParser.cpp index 47db56e..d98c7c7 100644 --- a/src/Network/GParser.cpp +++ b/src/Network/GParser.cpp @@ -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