unused variable upsets clang

meow-7.2.2
Beq 2024-06-14 08:37:21 +01:00
parent bc6dab0b52
commit efa2f1db01
1 changed files with 0 additions and 2 deletions

View File

@ -310,7 +310,6 @@ void LLLocalMeshObject::fillVolume(LLLocalMeshFileLOD lod)
// generate face data
std::vector<LLVolumeFace> new_faces;
bool weight_attributes_found = false;
for (auto& current_submesh : mFaces[lod])
{
@ -342,7 +341,6 @@ void LLLocalMeshObject::fillVolume(LLLocalMeshFileLOD lod)
// weight attribute
if (!current_submesh->getSkin().empty())
{
weight_attributes_found = true;
new_face.allocateWeights(current_submesh->getSkin().size());
for (size_t weight_iter = 0; weight_iter < current_submesh->getSkin().size(); ++weight_iter)
{