Skip to content

Commit

Permalink
Fix unused parameter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Jan 7, 2024
1 parent 4b8873f commit b0552ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ElunaLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down
2 changes: 1 addition & 1 deletion TrinityCore/GameObjectMethods.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b0552ab

Please sign in to comment.