summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-05-04 18:13:26 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-05-04 18:13:26 -0700
commit8e027971a28e9c4701ec667e52b56bf5deda6ce2 (patch)
tree1a6ac9111f9b8ba5bb921bbaf83d403f7b394ed5 /indra/newview/llviewerobject.cpp
parentd3c1fdeb34b91bb87e75932e2269f46234303335 (diff)
Remove unnecessary assert as ternary protects against null ptr deref
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rwxr-xr-xindra/newview/llviewerobject.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index 7c50abf53b..b8321c805f 100755
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -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() ||