diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp index 5b989da911f329bdaf7a4bd536542dd485350d1c..ebed4542712a03625b12d2862252e75305a19993 100755 --- a/indra/llrender/llimagegl.cpp +++ b/indra/llrender/llimagegl.cpp @@ -1930,7 +1930,11 @@ void LLImageGL::updatePickMask(S32 width, S32 height, const U8* data_in) return; } - U32 pickSize = createPickMask(width, height); +#ifdef SHOW_ASSERT + const U32 pickSize = createPickMask(width, height); +#else // SHOW_ASSERT + createPickMask(width, height); +#endif // SHOW_ASSERT U32 pick_bit = 0;