mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-06-17 22:23:03 +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());
|
Size = int(Arg->args.size());
|
||||||
Arg->PushArgs(luaState);
|
Arg->PushArgs(luaState);
|
||||||
}
|
}
|
||||||
std::string Origin = lua->GetOrigin();
|
|
||||||
int R = lua_pcall(luaState, Size, 1, 0);
|
int R = lua_pcall(luaState, Size, 1, 0);
|
||||||
if (CheckLua(luaState, R)) {
|
if (CheckLua(luaState, R)) {
|
||||||
if (lua_isnumber(luaState, -1)) {
|
if (lua_isnumber(luaState, -1)) {
|
||||||
|
|||||||
@@ -201,7 +201,6 @@ void GlobalParser(Client* c, const std::string& Pack) {
|
|||||||
return;
|
return;
|
||||||
std::any Res;
|
std::any Res;
|
||||||
std::string Packet = Pack.substr(0, strlen(Pack.c_str()));
|
std::string Packet = Pack.substr(0, strlen(Pack.c_str()));
|
||||||
std::string pct;
|
|
||||||
char Code = Packet.at(0);
|
char Code = Packet.at(0);
|
||||||
|
|
||||||
//V to Z
|
//V to Z
|
||||||
|
|||||||
Reference in New Issue
Block a user