From efa2f1db01a9f7b82aa1025d3514294cf0d5ab8d Mon Sep 17 00:00:00 2001 From: Beq Date: Fri, 14 Jun 2024 08:37:21 +0100 Subject: [PATCH] unused variable upsets clang --- indra/newview/vjlocalmesh.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/indra/newview/vjlocalmesh.cpp b/indra/newview/vjlocalmesh.cpp index d6a0f0ad94..b5f27b61ff 100644 --- a/indra/newview/vjlocalmesh.cpp +++ b/indra/newview/vjlocalmesh.cpp @@ -310,7 +310,6 @@ void LLLocalMeshObject::fillVolume(LLLocalMeshFileLOD lod) // generate face data std::vector 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) {