[General] Fix issues and warnings

This commit is contained in:
momo5502 2017-06-22 10:35:45 +02:00
parent a4dd14cde7
commit dc8b30a42f
3 changed files with 4 additions and 4 deletions

View File

@ -641,7 +641,7 @@ namespace Components
}
}
void Download::InfoHandler(mg_connection* nc, int ev, void* ev_data)
void Download::InfoHandler(mg_connection* nc, int ev, void* /*ev_data*/)
{
// Only handle http requests
if (ev != MG_EV_HTTP_REQUEST) return;

View File

@ -154,7 +154,7 @@ namespace Components
Utils::Hook::Set<BYTE>(0x5AC2CF, 0xEB); // CL_ParseGamestate
Utils::Hook::Set<BYTE>(0x5AC2C3, 0xEB); // CL_ParseGamestate
// AnonymousAddRequest
// AnonymousAddRequest
Utils::Hook::Set<BYTE>(0x5B5E18, 0xEB);
Utils::Hook::Set<BYTE>(0x5B5E64, 0xEB);
Utils::Hook::Nop(0x5B5E5C, 2);
@ -217,7 +217,7 @@ namespace Components
Utils::Hook::Set<BYTE>(0x4D6171, 0);
Utils::Hook::Nop(0x4077A1, 5); // PartyMigrate_Frame
// Patch playlist stuff for non-party behavior
// Patch playlist stuff for non-party behavior
Utils::Hook::Set<Game::dvar_t**>(0x4A4093, &partyEnable);
Utils::Hook::Set<Game::dvar_t**>(0x4573F1, &partyEnable);
Utils::Hook::Set<Game::dvar_t**>(0x5B1A0C, &partyEnable);

View File

@ -114,7 +114,7 @@ namespace Components
}
}
void Playlist::PlaylistInvalidPassword(Network::Address address, std::string data)
void Playlist::PlaylistInvalidPassword(Network::Address /*address*/, std::string /*data*/)
{
Party::PlaylistError("Error: Invalid Password for Party.");
}