From b0552ab4047b1eae982f3b1a450945ea24527173 Mon Sep 17 00:00:00 2001 From: Foereaper Date: Sun, 7 Jan 2024 04:50:49 +0100 Subject: [PATCH] Fix unused parameter errors --- ElunaLoader.cpp | 2 +- TrinityCore/GameObjectMethods.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ElunaLoader.cpp b/ElunaLoader.cpp index 4fc9d871d5..5049a414b7 100644 --- a/ElunaLoader.cpp +++ b/ElunaLoader.cpp @@ -71,7 +71,7 @@ void ElunaLoader::LoadScripts() preloadMaps = eConfigMgr->GetBoolDefault("Eluna.PreloadOnlyOnMaps", false); } -int ElunaLoader::LoadBytecodeChunk(lua_State* L, uint8* bytes, size_t len, BytecodeBuffer* buffer) +int ElunaLoader::LoadBytecodeChunk(lua_State* /*L*/, uint8* bytes, size_t len, BytecodeBuffer* buffer) { for (size_t i = 0; i < len; i++) buffer->push_back(bytes[i]); diff --git a/TrinityCore/GameObjectMethods.h b/TrinityCore/GameObjectMethods.h index a3e84fc751..b4c1e31b60 100644 --- a/TrinityCore/GameObjectMethods.h +++ b/TrinityCore/GameObjectMethods.h @@ -226,7 +226,7 @@ namespace LuaGameObject * Saves [GameObject] to the database * */ - int SaveToDB(Eluna* E, GameObject* go) + int SaveToDB(Eluna* /*E*/, GameObject* go) { go->SaveToDB(); return 0;