mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 10:41:01 +00:00
remove some unused variables
remove unused variable remove unused variable
This commit is contained in:
@@ -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)) {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user