DRTVWR-558: Fix Release variable-set-but-unused error.

meow-7.2.2
Nat Goodspeed 2022-08-23 15:14:18 -04:00
parent 7bef77cf4b
commit 7d996857cc
1 changed files with 3 additions and 0 deletions

View File

@ -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)