Remove unnecessary assert as ternary protects against null ptr deref

meow-7.2.2
Graham Madarasz 2013-05-04 18:13:26 -07:00
parent d3c1fdeb34
commit 8e027971a2
1 changed files with 0 additions and 1 deletions

View File

@ -4100,7 +4100,6 @@ S32 LLViewerObject::setTETextureCore(const U8 te, LLViewerTexture *image)
S32 LLViewerObject::setTENormalMapCore(const U8 te, LLViewerTexture *image)
{
llassert(image);
S32 retval = TEM_CHANGE_TEXTURE;
const LLUUID& uuid = image ? image->getID() : LLUUID::null;
if (uuid != getTE(te)->getID() ||