AltAdvancement.cpp around line 245
Before
Code: Select all
for (int x = 0; x < TreeNodeList.size(); x++)Code: Select all
for (uint x = 0; x < TreeNodeList.size(); x++)Code: Select all
//delete this is unused
int64 value = 0;Both of these look unused
Code: Select all
//int32 duration = lua_interface->GetInt32Value(state, 3);
float vertical = lua_interface->GetFloatValue(state, 4);
float horizontal = lua_interface->GetFloatValue(state, 5);
bool use_heading = lua_interface->GetInt8Value(state, 6) == 1 ? true : false;
//LuaSpell* spell = lua_interface->GetCurrentSpell(state);This looks unused
Code: Select all
int32 group_size = m_groups[leader->GetGroupMemberInfo()->group_id]->Size();This should be long unsigned
Code: Select all
fprintf(stderr, "%s: %u: Unable to allocate %lu bytes\n", __FUNCTION__, __LINE__, sizeof(logq_t));