summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-13 14:05:09 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-13 14:05:09 +0000
commita0c57cbb824f5ec976f43a096c320929c7d89120 (patch)
tree6353c014e38b90c6dee1ea64c4c0952c39b2391a
parent74ffa0fa480e57371acd992fce7f291f04456729 (diff)
CID-207 assert.
-rw-r--r--indra/newview/llinventorymodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp
index a6e8f07e21..326f2a5577 100644
--- a/indra/newview/llinventorymodel.cpp
+++ b/indra/newview/llinventorymodel.cpp
@@ -1937,6 +1937,7 @@ void LLInventoryModel::addItem(LLViewerInventoryItem* item)
{
//llinfos << "LLInventoryModel::addItem()" << llendl;
+ llassert(item);
if(item)
{
// This can happen if assettype enums from llassettype.h ever change.