fix some compiler warnings about unused variables

This commit is contained in:
Stoabrogga
2019-04-03 09:17:24 +00:00
parent adf722a181
commit 6f28bd9c64
3 changed files with 5 additions and 0 deletions

View File

@@ -263,6 +263,7 @@ namespace LuaMap
*/
int SetWeather(lua_State* L, Map* map)
{
(void)map; // ensure that the variable is referenced in order to pass compiler checks
uint32 zoneId = Eluna::CHECKVAL<uint32>(L, 2);
uint32 weatherType = Eluna::CHECKVAL<uint32>(L, 3);
float grade = Eluna::CHECKVAL<float>(L, 4);