diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index 5c3b7ded7a..63c4ea8ecb 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -2368,7 +2368,7 @@ bool LLVolume::unpackVolumeFacesInternal(const LLSD& mdl) const LLSD::Binary& pos = mdl[i]["Position"].asBinary(); const LLSD::Binary& norm = mdl[i]["Normal"].asBinary(); - const LLSD::Binary& tangent = mdl[i]["Tangent"].asBinary(); + // const LLSD::Binary& tangent = mdl[i]["Tangent"].asBinary(); // more set but unused const LLSD::Binary& tc = mdl[i]["TexCoord0"].asBinary(); const LLSD::Binary& idx = mdl[i]["TriangleList"].asBinary(); diff --git a/indra/llrender/llcubemaparray.cpp b/indra/llrender/llcubemaparray.cpp index 998b57217d..6799010789 100644 --- a/indra/llrender/llcubemaparray.cpp +++ b/indra/llrender/llcubemaparray.cpp @@ -123,7 +123,7 @@ LLCubeMapArray::LLCubeMapArray(LLCubeMapArray& lhs, U32 width, U32 count) : mTex GLint components = GL_RGB; if (mImage->getComponents() == 4) components = GL_RGBA; - GLint format = GL_RGB; + // GLint format = GL_RGB; // unused // Handle different resolutions by scaling the image LLPointer src_image = new LLImageRaw(lhs.mWidth, lhs.mWidth, lhs.mImage->getComponents()); diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index ef9b585423..aa91303ce8 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -608,7 +608,7 @@ void LLFace::renderSelected(LLViewerTexture *imagep, const LLColor4& color) // on faces with GLTF textures we use a spectal vertex buffer with other transforms if (const LLTextureEntry* te = getTextureEntry()) { - if (LLGLTFMaterial* gltf_mat = te->getGLTFRenderMaterial()) + if (te->getGLTFRenderMaterial()) { vertex_buffer = mVertexBufferGLTF.get(); }