diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2022-08-23 15:14:18 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2022-08-23 15:14:18 -0400 |
commit | 7d996857cc04b83f73714fca3c723fd7528a688c (patch) | |
tree | 7e387a2b28a81b9a435be7ccab5bd4d72c00e9a6 /indra | |
parent | 7bef77cf4b3ae2552c54289a38ae2cc4aaea8e3c (diff) |
DRTVWR-558: Fix Release variable-set-but-unused error.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llskinningutil.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llskinningutil.cpp b/indra/newview/llskinningutil.cpp index cf3519c1c7..8bdccfd9f6 100644 --- a/indra/newview/llskinningutil.cpp +++ b/indra/newview/llskinningutil.cpp @@ -264,6 +264,9 @@ void LLSkinningUtil::getPerVertexSkinMatrix( // SL-366 - with weight validation/cleanup code, it should no longer be // possible to hit the bad scale case. llassert(valid_weights); + // When building for Release, the above llassert() goes away. Ward off + // variable-set-but-unused error. + (void)valid_weights; } void LLSkinningUtil::initJointNums(LLMeshSkinInfo* skin, LLVOAvatar *avatar) |