From eaf39fc5731da75807aeebecbd49a326bfcb470a Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Mon, 29 Jul 2019 10:33:02 -0700 Subject: Silence Clang warnerror about (now) unused var. --- indra/newview/lllegacyatmospherics.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/newview') diff --git a/indra/newview/lllegacyatmospherics.cpp b/indra/newview/lllegacyatmospherics.cpp index 10603cf819..e68f9da1a7 100644 --- a/indra/newview/lllegacyatmospherics.cpp +++ b/indra/newview/lllegacyatmospherics.cpp @@ -306,6 +306,7 @@ void LLAtmospherics::calcSkyColorWLVert(LLVector3 & Pn, AtmosphericsVars& vars) // this is used later for sunlight modulation at various altitudes LLColor3 light_atten = vars.light_atten; LLColor3 light_transmittance = psky->getLightTransmittance(Plen); + (void)light_transmittance; // silence Clang warn-error // Calculate relative weights LLColor3 temp2(0.f, 0.f, 0.f); -- cgit v1.2.3