summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-07-29 10:33:02 -0700
committerGraham Linden <graham@lindenlab.com>2019-07-29 10:33:02 -0700
commiteaf39fc5731da75807aeebecbd49a326bfcb470a (patch)
tree398749c992815ff4a90da28b005c87aabfe6b13e /indra
parent981a81e7537038798d412e57166f06217f1d40d0 (diff)
Silence Clang warnerror about (now) unused var.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lllegacyatmospherics.cpp1
1 files changed, 1 insertions, 0 deletions
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);