diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-07-19 16:05:19 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-07-19 16:05:19 +0800 |
commit | 0a54998432f7848ffad50e357ee5dc0de6f208a7 (patch) | |
tree | 3e444df0e9f89672461b68ffb417ae8b323e7e41 /indra | |
parent | 8356386f6674cf7f1e25bcd49f3266868cd5dc7d (diff) |
Comment out unused variables whether set or not
Otherwise GCC would treat them as errors, if not suppressed.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llface.cpp | 2 | ||||
-rw-r--r-- | indra/newview/llmanip.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index c3b3ccabb4..e1edc38923 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -924,7 +924,7 @@ BOOL LLFace::genVolumeBBoxes(const LLVolume &volume, S32 f, //VECTORIZE THIS LLMatrix4a mat_vert; mat_vert.loadu(mat_vert_in); - LLVector4a new_extents[2]; + //LLVector4a new_extents[2]; llassert(less_than_max_mag(face.mExtents[0])); llassert(less_than_max_mag(face.mExtents[1])); diff --git a/indra/newview/llmanip.cpp b/indra/newview/llmanip.cpp index 6589aa477f..f551eea014 100644 --- a/indra/newview/llmanip.cpp +++ b/indra/newview/llmanip.cpp @@ -568,8 +568,10 @@ void LLManip::renderTickValue(const LLVector3& pos, F32 value, const std::string gGL.scalef(inv_zoom_amt, inv_zoom_amt, inv_zoom_amt); } + /* LLColor4 shadow_color = LLColor4::black; shadow_color.mV[VALPHA] = color.mV[VALPHA] * 0.5f; + */ if (fractional_portion != 0) { |